Hi Ron

As others have said, it's because "user" is a debug keyword - so you have to use the %var() function there to have debug treat it as a variable. I've never used a variable named "user", so never have had to use that function in debug.

Vern

On 7/6/2010 2:42 PM, Ronald Newman wrote:
If you run this code you can see that USER will contain the users name. However when in debug and you use F11 to display the contents of USER is when you get the syntax error. It may be the INZ(*user) that is causing the problem in debug


1 D userid s 10a inz(*user) 2 D user s 10a 3 c move userid user 4 c user dsply user 5 c eval *inlr = *on
Ron Newman








As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.