# filename: ch6-08-local-vars.rsc

# Create a local variable
:local SmallNumber;

# Print its value
:put ("Variable contents: $SmallNumber"); 

# Assign some data to the variable
:set SmallNumber 2;

# Print its value again
:put ("Variable contents: $SmallNumber"); 

# Let's change the variable value
:set SmallNumber 3;

# Print its value again
:put ("Variable contents: $SmallNumber");