{"identifier":38686,"topic":"Commands","name":"get","text":"<code><pre>get <i>expression<\/i>\n<\/pre><\/code>\n<code>get <\/code>[<code>the<\/code>]<code> <i>property<\/i> <\/code>[<code>of <i>object<\/i><\/code> ] <br><br>\n\n The<code> get <\/code>command puts the value of any expression or property into the local variable<code> it<\/code>.    <br><br>\n\n That is,  <br><br>\n\n    <code>get <i>expression<\/i><\/code> <br><br>\n\n is the same as  <br><br>\n\n    <code>put <i>expression<\/i> into it<\/code> <br>\n","related":{"45460":"put"},"examples":"get random(100) -- places a random number into the variable it\nput it\n\nget the short name of this card\nif it is \"Index\" then ...\n\nget the userLevel\nif it < 3 then ...","demo":"<code><pre>on getNumChars\n  <b>get<\/b> the number of characters in bkgnd field \"Demo Script\"\n  answer \"This demo script contains\" && it && \"characters.\"\nend getNumChars<\/pre><\/code>\n ","debug":{"9":["get expression\rget ["]}}