PDA

View Full Version : Keywords in field names



raveens
10-Oct-2018, 08:09 PM
FYI

For the longest time, If you had something like:



Clear ACCTYPE
Move aSQLStmtResult.aValue[iRow][0] to ACCTYPE.Class


Then after the last line above, all indentations are screwed - the studio gets confused with the 'Class' field name and even colors it differently.

Hopefully this can be fixed in DF19.1

Yes! The quick answer would be DO NOT use these keywords, problem is the field name was created before 'Class' was a keyword.

starzen
10-Oct-2018, 11:39 PM
FYI

For the longest time, If you had something like:



Clear ACCTYPE
Move aSQLStmtResult.aValue[iRow][0] to ACCTYPE.Class


Then after the last line above, all indentations are screwed - the studio get confused with the 'Class' field name and even colors it differently.

Hopefully this can be fixed in DF19.1

Yes! The quick answer would be DO NOT use these keywords, problem is the field name were created before 'Class' was a keyword.

as long as it is valid in the language the Studio should properly support it