Task

Demonstrate a language's methods of:

   variable declaration
   initialization
   assignment
   datatypes
   scope 
   referencing,     and 
   other variable related facilities


' Initialization
A = 15                 ' global variable
 
Proc _Initialize(24)
 
_Initialize Param (1)
  Local (1)            ' A@ now holds 24
  B@ = 23              ' local variable
Return
 
' Assignment
A = 15                 ' global variable
 
Proc _Assign(24)
 
_Assign Param (1)
  Local (1)            ' A@ now holds 24
  A@ = 5               ' reassignment of parameter A@
  B@ = 23              ' local variable
Return