Is there a limit to the length of a list in Scratch? If so, are the limits the same on the program as on the online Java player?
Thanks,
SB
Offline
ScipioBellorum wrote:
Is there a limit to the length of a list in Scratch? If so, are the limits the same on the program as on the online Java player?
Thanks,
SB
I just tested it offline, and it went past 9999, so I expect there isn't a limit. Not sure about online though.
Just make a project and put it the following script:
When Flag clicked
Forever
Add [.] to list
Offline
Dan01 wrote:
ScipioBellorum wrote:
Is there a limit to the length of a list in Scratch? If so, are the limits the same on the program as on the online Java player?
Thanks,
SBI just tested it offline, and it went past 9999, so I expect there isn't a limit. Not sure about online though.
Just make a project and put it the following script:
When Flag clicked
Forever
Add [.] to list
I thought it was probably infinite (up to the 10MB limit), I just wanted to check. Knowing the various inconsistencies between the on and off-line players I want to make sure any project will work ok for everyone.
Thanks for your help,
SB
Offline
ScipioBellorum wrote:
Dan01 wrote:
ScipioBellorum wrote:
Is there a limit to the length of a list in Scratch? If so, are the limits the same on the program as on the online Java player?
Thanks,
SBI just tested it offline, and it went past 9999, so I expect there isn't a limit. Not sure about online though.
Just make a project and put it the following script:
When Flag clicked
Forever
Add [.] to listI thought it was probably infinite (up to the 10MB limit), I just wanted to check. Knowing the various inconsistencies between the on and off-line players I want to make sure any project will work ok for everyone.
Thanks for your help,
SB
Actually, I had a project that used extensive lists and it added 5 mb to my project and made it unplable. THere were 16 lists, each with anywhere from 1000 to 2000 vairables in them.
Offline