I think we can actually do this stuff now?
Sort of, see @Petrichor’s newest project(s)
So… i just thought of this because i need a Variable that contains many stuff, just like
var test = [200, 400, 500];
At js. And i want the variable can contain texts. I dont know if these features are in the beta or something but…
- Not really…
nice idea, but see if there’s another topic like this, thanks :)
Ok, and your so fast
At least the Text in Var is not taken right?
Wait… those are lists
arrays === lists
I would hope JS has strings lol
lol what’s the use of js if strings doesn’t exist
C doesn’t have strings. Strings are not a necessary component of programming languages. Arrays or some form of them are.
Would be very cool if lists get introduced into Hopscotch, especially if they support strings. The kind of stuff that would be possible, in my opinion, are a list of names for something like custom levels, calculating the mean (average), creating some sort of function for things like objects to follow, and loads more…
I guess the only downside is if this gets added, it might be limited to a certain length (to prevent crashes and overflows). That is the only thing that worries me…
I would personally use lists/arrays for an instruction register
I used the Fibonacci Sequence as an example
Woah, i guess many ppl want arrays in hopscotch!
way better then If Loops
Well if we had occurrence blocks and the replace block, we can have dictionaries, which we can use as arrays (you know, the keys are numbers
That’s not exactly how dictionaries are implemented, but cool idea.