Public variable declaration @@Public nFrom := 00
Posted: Thu Sep 23, 2021 12:57 am
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
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