The following is allowed in VFP, but in X# causes a compiler error XS9002: Parser: unexpected input 'DATE'
LOCAL cDateFormat
cDateFormat := "AMERICAN"
SET DATE TO cDateFormat
The actual code where I saw it used is actually more complex, reads the format from a cursor field, we need to make sure we support that, too:
SET DATE TO AllTrim( cursorname.cdatef )
The following is allowed in VFP, but in X# causes a compiler error XS9002: Parser: unexpected input 'DATE'
The actual code where I saw it used is actually more complex, reads the format from a cursor field, we need to make sure we support that, too:
SET DATE TO AllTrim( cursorname.cdatef )