Look up 'EXTERNAL Command' in the help. It will explain what you need to do with examples.
Alan
>Hi,
>I like to send an array as parameter to a function:
>
>function f(aArr)
>x=aArr[1]
>endfunc
>
>If I do f(this.aX) I get "File 'aarr.prg' does not exist."
>
>If I do f(@this.aX) I get "Alias 'THIS' is not found."
>
>If I do
>ACOPY(this.aX,aP)
>f(@aP)
>the function works OK.
>
>Is there a better way to do this?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement