Continuing the discussion from Funny programming language in snap! (Part 2) - #100 by helicoptur.
Previous discussions:
Continuing the discussion from Funny programming language in snap! (Part 2) - #100 by helicoptur.
Previous discussions:
I wonder if we're going to surpass the most-replied topic eventually?
haha ive seen a forum that went to part 5 or part 4
Yes, we might, but we have definitely secured a place in the leaderboard for a very long time.
yep
oh yeah, that's better.
the among us one?
yeah
try start
break then if error //error reports if the command isn't recognized or the error
end
huh?
catch errors
anyway after the user writes the code, instead of a run button, we should just have the command
run
I think you guys have decided on the syntax, but how about actually coding it?
Wiki is the most replyed.
Technically it's not, the Among Us topics have like 5 parts to them, which means they're well over 100 more posts than the wiki topic.
The wiki topic is only the most replied because Administrative Categories doesn't have the 100 replies system.
Can anybody tell me the List syntax, I need it.
There isn't really a set-in-stone (agreed upon) syntax for lists afaik, but here are some suggestions I remember:
("item1",
"item2",
("item1-nested",
"item2-nested"))
["item1", "item2", ["item1-nested", "item2-nested"]]
{
"item1"
"item2"
{
"item1-nested"
"item2-nested"
}
}
i use
(item1, item2)
I like the second one.
Example
display text(what the user sees):
bagItems = ["Item 1", "Item 2", pokemon = ["Charmander", "Pikachu"]]
Blocks(The Code translated to snap):
Also please forgive me because I keep using Pokemon as an example.
it's fine
It's just that