Make the workaround for letter # of () in () block support any length of the first input


PenguinLover1123 (talk | contribs) 22:48, 24 September 2021 (UTC)

Joecooldoo Logo.png  Joecooldoo • Talk • 84 contributions • Scratch 
Could you explain a little deeper?

A workaround for the block that uses only 1 variable

define item # of (string1) in list
set [index v] to [0]
if <[list v] contains (string1)?> then
repeat until <(item (index) of [list v]) = (string1)> 
change [index v] by (1)
end
end


Medians (talk | contribs) 15:37, 27 June 2023 (UTC)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.