Topic variable: Difference between revisions

m
added whitespace.
m (added whitespace.)
Line 1:
{{task}}
Several programming languages offer syntax shortcuts to deal with the notion of "current" or "topic" variable. A topic variable is a [[Special variables|special variable]] with a very short name which can also often be omitted.
 
A topic variable is a [[Special variables|special variable]] with a very short name which can also often be omitted.
 
Demonstrate the utilization and behaviour of the topic variable within the language and explain or demonstrate how the topic variable behaves under different levels of nesting or scope, if this applies, within the language.
 
For instance you can (but you don't have to) show how the topic variable can be used by assigning the number <math>3</math> to it and then computing its square and square root.
<br><br>
 
=={{header|AppleScript}}==