I have a sub where i use a variable "ret" as string * 20. When i run the program i give "ret" a value and that works ok, but here is the problem. i want to use the same variable with the same value in another sub. But i have had som trouble doing so because "ret" loses it´s value between the subs. does anyone have a solution to my problem.
Grateful for answers
2. Re: Values in sub:s
#1129
Posted by: 2003-11-26 00:47:26
Dimension it globally at the start of the program.