Re: For-Loop doesn't respect arguments...?Please open Help --> Scripting index, search for "for" and find the enclosed example.
You see, that arguments need different order.
Also when hover over the command "for" you see the syntax, JMP expects.
Names Default To Here( 1 );
s = "";
For( i = 1, i < 10, i++,
s ||= " " || Char( i )
);
Trim( s );
For-Loop doesn't respect arguments...?Hi there,
can anybody explain why my for-loop below does not start with i=4 and does not end after i>250?
For ( i = 4 , i= i+12, i < 250,
.....
)
The loop does as required and gives me correct results for i=16,28,40 etc etc. Only --- I don't get results for i=4. First results come for i=16. And the loop never ends. The script crashes when i reaches a value beyond my data limits (somewhere around 1800). I've written plenty of loops by now, but never had this issue?
Cheers,
Kofi
Sharing and Communicating Results