Thanks BMacZero.
If I call a function from a function,
a=something
b=something
c=something
d=something
//////////////////////////////////////////////////////////////
Do
GoSub Do_Something
Loop
/////SubRoutines/////////////////////////////////////////////
Do_Something:
If, While ,etc......
call_a_Function(a,b) ` I need this variable
EndIf............
Return
///////Functions/////////////////////////////////////////////
Function Call_a_Function(a,b)
If, While ,etc......
call_a_Different_Function(c,d) ` I need this variable
EndIf............
EndFunction variable_e
Function call_a_Different_Function(c,d)
If, While ,etc......
//
EndIf............
EndFunction variable_f
So
call_a_Different_Function(c,d), will have no problem "seeing" variables c and d, from "inside"
Call_a_Function(a,b)?
Mike
put this in your code snippets, code lang = dbp