Makes sense. I wanted to be sure that I am not missing something that would get me later. Since I do want to add a parameter to a list of LPARAMETERs and to be able to read this parameter in the calling procedure.
Thank you.
>@ passes the variable by reference, IOW TestFunct writes directly into lVar2 of main program
>
>>Hi,
>>
>>Specifically I mean, as far as the title, what is the purpose of the "L" in LPARAMETERS. I understand it means "local" but the following example shows that it is not quite local:
>>
>>
>>LOCAL lVar1, lVar2
>>
>>STORE 1 TO lVar1, lVar2
>>
>>=TestFunct( lVar1, @lVar2 )
>>
>>? lVar1, lVar2
>>
>>FUNCTION TestFunct
>>LPARAMETERS lVar1, lVar2
>>
>>lVar2 = 122
>>
>>RETURN
>>
>>
>>Or does it mean that the "@" overrides the L in LPARAMETERS?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham