RosettaCodeData/Task/Variable-size-Get/TUSCRIPT/variable-size-get.tu

9 lines
169 B
Turing

$$ MODE TUSCRIPT,{}
string="somerandomstring"
size=SIZE(string)
length=LENGTH(string)
PRINT "string: ",string
PRINT "has size: ",size
PRINT "and length: ",length