I need help

Terry Reedy tjreedy at udel.edu
Tue Apr 1 19:57:16 EST 2003


"Jewlz408" <Jewlz408 at aol.com> wrote in message
news:31ef0f43.0304011338.7ae3d45b at posting.google.com...
> I need a lot of help
> What do you know about Arrays
> How many storage Locations will be allocated for each of the given
arrays?
> 1) Dim A(1 to 10)
> 2) Dim B(-3 to 5)
> 3) Dim C$( 12)
> 4) Dim D( 1 to 4, -2 to 2)
> 5) Dim E(4,6)

So little that you should not worry about it.

> And What does the following programs do with its output?

Nothing, it does not have any.

> Dim Table( 1 to 5, 1 to 3)
> For I = 1 to 5
> For J = 1 to 3
> Let Table(I,J) = 1
> Next J
> Next I
> End
>
> What does the program do?

Initialize a 2d array to 1's.

You would be much better off learning Python than Basic.  Visit
www.python.org and you can find a bieginner's tutorial.

TJR






More information about the Python-list mailing list