Welcome to Dream.In.Code
Become a VB Expert!

Join 137,261 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,558 people online right now. Registration is fast and FREE... Join Now!




array loading problem

 
Reply to this topicStart new topic

array loading problem, attempting to load array in True Basic

rwt515
13 Dec, 2006 - 05:00 PM
Post #1

New D.I.C Head
*

Joined: 13 Dec, 2006
Posts: 1


My Contributions
Rookie sys analyst learning pgmming (attempting to teach myself pgmming to better relate to the pgmming gurus)

-------------------------------------------------------------------------------

DIM A$(5), B(5), C(5)
rem
Let A$(5) = Array(a,b,c,d,e)
Let B(5)=Array(1,2,3,4,5)
LET C(5)=Array(8,8,4,3,3)
PRINT A$(x),B(x),C(x)

END
-------------------------------------------------------------------------------




Attempting to load a 3 by 5 array using the above code
and then to print it out
Using something called True Basic as compiler

What am I missing ?

Thanks for the assist

Regards BT
User is offlineProfile CardPM
+Quote Post

KeyWiz
RE: Array Loading Problem
13 Dec, 2006 - 05:46 PM
Post #2

D.I.C Regular
Group Icon

Joined: 26 Oct, 2006
Posts: 428


Dream Kudos: 125
My Contributions
try this

CODE

FOR x = 0 to 4
    PRINT A$(x), B(x), c(X)
NEXT x


Go to www.MSDN.com and check out Visual Studio 2005 Express. It offers free access to programming language class videos and other great resources for the do it yourselfer.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/4/08 06:51PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month