Not sure what this is(does)

new topic     » topic index » view thread      » older message » newer message

Hi everyone,  I know this is probably a stupid question, but I have
always beleived stupid questions to be the ones you never asked, so here goes...

In these lines of Euphoria code:



for i=1  to 30 by 1 do--number of bitmap (+1 for indexing in sequence purposes)
for poop = 1 to (length(tank[i]))  do
    for aloop = 1 to 29  do--length of bmp file

        a=tank[i][poop][(aloop)]


Which are out of Michael Packard's tank demo program,  what does the "(" and ")"
around the "aloop" in the last line do?  I understand that a is an atom, and
have read the ref manual twice again and even browsed the library file,  but
can't find a reference to using parenthesis as a selector.  Is this meaning
specify the atom inside of that slice?

P.S. the rem lines are added in by me, and are not necesarily right, I'm
just trying to figure out what all these lines do,  I am wanting to narrow
down his virtual window, which doesn't look to hard, just more lines of code
to select particular slices,  but have this BIG question.

Thanks in advance.
Monty King

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu