Re: Not sure what this is(does)
- Posted by Marcel Kollenaar <M.Kollenaar at SLO.NL> Oct 07, 1996
- 1634 views
Hello Monty, You wrote: > 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... There are no stupid questions [...]. > > 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? Look what happens when you leave the "(" and ")" out of the code. I always use parenthesis if I need to change the predetermined precedence of evaluation. > 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 Marcel Kollenaar