Good day! I need help with DECLARE, the documentation doesn’t say anything about it.
For example :
Called program has name PRG1 and his code lines:
10 DECLARE var1 var2 var3
20 var3 = var1 + var2
30 END
I have questions:
In called function PRG1 what kind of variables we use? Is that Local or Global? Am i free to give names to variables inside PRG1 or i need to use variables from INPUT, OUTPUT and VARIABLE list, or use standart local variables like A, B, C, etc?
var1 inside PRG1 is the same as var1 in VARIABLE list, or two of them are different?