8. Using Vision Advanced Features : Using Local Variables : Assign a Value to a Local Variable
 
Share this page                  
Assign a Value to a Local Variable
Vision declares any local variables in the initialize block when it generates the 4GL code for a frame. Vision sets the initial value of local variables to a blank string for character data types and zero for numeric data types.
After you define a local variable, you can change this default initial value.
To assign a value to a local variable
1. Write a 4GL assignment statement.
2. Place this statement as a Form-Entry escape code for the frame.
See How Writing Escape Code Works for more information.