Cubist's first bug report
cubist at aol.com
Sun Jun 5 10:12:01 EDT 2016
Code which exhibits the bug:
put "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" into Fred
repeat 100 times
add 1 to any item of Fred
put Fred into line (1 + the number of lines in fld "testbed") of fld "testbed"
put sum (Fred) into line (1 + the number of lines in fld "testbed") of fld "testbed"
This handler *should* end up generating a 16-item string of integers which sum to exactly 100. What it *actually does* end up generating, is a 16-item string of integers whose sum may or may not fall somewhere within the range 80-120. Not sure what the hell is going on here, but I am not at all happy about it. Perhaps other people might like to try this code on their systems, and see if it works as intended for them?
"Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length"
Read the webcomic at [ http://www.atarmslength.net ]!
If you like "At Arm's Length", support it at [ http://www.patreon.com/DarkwingDude ].
More information about the Use-livecode