Fun (was Re: Cubist's first bug report)
-hh
hh at hh.on-rev.com
Sun Jun 5 16:26:33 EDT 2016
Dar Scott wrote
> on mouseUp
> put "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" into myVar
> repeat 1000
> add zero to any item of myVar
> end repeat
> put myVar
> end mouseUp
Your example is really convincing, nothing to say more.
This introduces, still funny, some variation:
on mouseUp
put "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" into myVar
repeat 1000
add 0 to item (any item of myVar) of myVar
end repeat
put myVar into fld 1
end mouseUp
And this, not this much funny, creates a CRASH (showing "inf"):
on mouseUp
put "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16" into myVar
repeat 1000
add 1 to item (any item of myVar) of myVar
end repeat
put myVar into fld 1
end mouseUp
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cubist-s-first-bug-report-tp4705407p4705416.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list