You have to declare the array as external with the EXTERNAL command:
EXTERNAL ARRAY ASYSDATA
Take a look at the EXTERNAL command in help.
HTH
Franco
>When I compile and build an application, I get the following error:
>
>
>Program d:\myapp\programs\appsetup.prg has the following errors:
> Unknown ASYSDATA - Undefined
>
>
>The aSysdata is an array passed by reference to the INIT method of the class in appsetup.prg. The code is basically like this:
>
>
>Procedure INIT
>LPARAMETER aSysData
>
>
>The compiler error I get (above) does not really stop program from working. But I was wondering, why do I get this error and perhaps how to get rid of it?
>
>TIA.