Good day to you all once again!
VO Code:
Method InitPublics Class APP
Publ cpUserID := ""
Public nFrom := 00
X# Code
Method InitPublics
Publ cpUserID := ""
@@Public nFrom := 00
Compiler goes weird when assigning the value into nFrom
Error XS9002 Parser: unexpected input 'nFrom' IslandTug Main App - 1583-15 C:XporterOutputIslandTug Main App - 1583-15__App Start.prg 32
Seems like assigning a literal string value works - assigning anything else does not..
Any ideas?
As always, thank you, keep well and,
Cheers, JK
Public variable declaration @@Public nFrom := 00
-
- Posts: 49
- Joined: Wed Aug 11, 2021 11:03 am
Public variable declaration @@Public nFrom := 00
John,
I am not sure why the @@ characters were added but they do not belong there.
I would also recommend to use the complete keyword and not the 4 letter abbreviation.
should be
Robert
I am not sure why the @@ characters were added but they do not belong there.
I would also recommend to use the complete keyword and not the 4 letter abbreviation.
Code: Select all
Publ cpUserID := ""
@@Public nFrom := 00
Code: Select all
Public cpUserID := ""
Public nFrom := 00
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
-
- Posts: 49
- Joined: Wed Aug 11, 2021 11:03 am
Public variable declaration @@Public nFrom := 00
Thank you!
Going for it!
Cheers, JK
Going for it!
Cheers, JK