1. the by statement

pls how is the by statement used.for example

for i = 1 to 10 by 0.2 do  
______ 
end for 

just need to know what the by statement does

new topic     » topic index » view message » categorize

2. Re: the by statement

Hi

Increment by 0.2, so 1, 1.2, 1.4, 1.6 etc.

Similarly

for = 10 to 1 by -0.3 do

end for

decrement by 0.3 from 10 to 1 (in this case as soon a s it get less than one)

Chris

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu