📝 remove cst
to constant
This commit is contained in:
parent
4d5553d927
commit
782c98ca46
@ -56,7 +56,6 @@ typ|type $1
|
|||||||
# cast $1 to type-string stored in $2 / to num
|
# cast $1 to type-string stored in $2 / to num
|
||||||
cst|cast $1 $2
|
cst|cast $1 $2
|
||||||
cst|cast $1 "num"
|
cst|cast $1 "num"
|
||||||
cst|cast $1 num
|
|
||||||
|
|
||||||
# use contents of a var as var-name (todo: is there a more assembly-like way for this?)
|
# use contents of a var as var-name (todo: is there a more assembly-like way for this?)
|
||||||
${$name}
|
${$name}
|
||||||
@ -235,7 +234,7 @@ rnd|rand|random $1 5 13
|
|||||||
|
|
||||||
## STRING MANIPULATION ##
|
## STRING MANIPULATION ##
|
||||||
# get number $1 as string
|
# get number $1 as string
|
||||||
cst|cast $1 str
|
cst|cast $1 "str"
|
||||||
|
|
||||||
# get utf-8 char with id $1 => $1
|
# get utf-8 char with id $1 => $1
|
||||||
chr $1
|
chr $1
|
||||||
|
Reference in New Issue
Block a user