What is the line right befor 'Create cursor'? Wouldn't be a comment with continuation, by any chance?
Something like
Create cursor mainlookup(PSPATH C(50),;
...
>I have a class, in this class is this bit of code
>
>
>Create cursor mainlookup(PSPATH C(50),;
> TOTPACKETS C(10),;
> TOTRECORDS C(10),;
> TOTIMAGES C(10),;
> TOTPULLS C(10),;
> FAILED C(100))
>
>messagebox(alias())
>
>
>when it is called the alias() shown is blank, I appear not to have created a cursor, or if I have it's not available,
select mainlookup
fails.
>
>the code in the command window works fine, and it has been working fine with almost this code, something has happened, and I'm now a bit stuck
>
>any idea what could be causing this? an environment setting or something?
>
>
>Ken.
--sb--