Math challenge thing

Dar Scott dsc at swcp.com
Sun Jul 30 15:06:00 EDT 2006


On Jul 30, 2006, at 12:17 PM, Ken Ray wrote:

>   put (x mod 4) into x
>
> as in:
>
> on mouseUp
>   put 12 into tMax
>   repeat with x = 1 to tMax
>     put (x mod 4) & "," after fld 1
>   end repeat
> end mouseUp
>
> Result:
>
> 1,2,3,0,1,2,3,0,1,2,3,0,

Yeah.  That's what I was thinking.  Then when I saw Thierry's I  
thought I got mixed up on what the loop variable was.

Dar




More information about the use-livecode mailing list