Hello guys,
I’m trying to use some commands,
but is it true that I can’t use the value in variable for my label name on ‘goto’?
or it’s just my bad logic?
I have a label named kitchen though,
but I’m trying to not statically declare every goto, like in line 59.
any reply would be appreciated, thanks guys
-Valda R-
what’s the difference between {loc4} and ${loc4} ?
thanks
Using the dollar sign means that you display the content of the variable. It’s typically used in the prose:
$!{he} is so uninformed about tapas. There were ${tapas_num} tapas, not 2.
In code, you don’t display anything, so you drop the $.
2 Likes
Szaal
5
It’s more on the side of code-geek. {}
refers to the content inside the brackets, while ${}
prints the content.
2 Likes