Cubist's first bug report

Dar Scott dsc at swcp.com
Sun Jun 5 18:14:08 EDT 2016


I opened the dictionary.  I didn't need to select the API tab or the LiveCode Script API, those were selected.  I typed "any" in the search box, but did not hit return or click the search button.  A list containing "mobilPickMedia" showed up.  Right above it, all by itself so it can be lost, is the word "any".  I clicked on it and I got a description.

Of course, if one is learning the language...  Why would anybody think to look for "any"?



> On Jun 5, 2016, at 4:06 PM, Jerry Jensen <jerry at jhjensen.com> wrote:
> 
> I just spent a few minutes in the 8.0.1 dictionary and did not find it. That thing is useless! Maybe its because I’m new to 8, but where is “any" documented? How in the world does one find it?
> .Jerry
> 
>> On Jun 5, 2016, at 2:50 PM, ** Clarence P Martin ** <chipsm at themartinz.com> wrote:
>> 
>> I feel that I am somewhere in another world.
>> Can someone please explain to me where the "Any Item" or even Just the command "Any" is documented? I can't seem to find this.
>> Sorry if this sounds like a stupid question, but when I see something that is new to me, I have to explore it and its uses.
>> 
>> Sincerely,
>> 
>> Clarence Martin
>> Email: chipsm at themartinz.com
>> Cell: 626 6965561
>> 
>> -----Original Message-----
>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Quentin Long
>> Sent: Sunday, June 05, 2016 7:12 AM
>> To: use-livecode at lists.runrev.com
>> Subject: Cubist's first bug report
>> 
>> Code which exhibits the bug:
>> 
>> on mouseUp
>>  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"
>>  end repeat
>>  put sum (Fred) into line (1 + the number of lines in fld "testbed") of fld "testbed"
>> end mouseUp
>> 
>> 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?
>> 
>> http://quality.livecode.com/show_bug.cgi?id=17795
>> 
>> 
>> "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 ].
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 





More information about the Use-livecode mailing list