/cs compiler switch
Posted: Tue Feb 25, 2020 9:28 am
Hi Chris,
i tried the /cs switch and noticed some problems:
currently the XIDE generated code of e.g. a Sle looks like:
PROTECT oDCSingleLineEdit1 AS SINGLELINEEDIT
but what´s needed is "AS SingleLineEdit". When i look at the cavowed.inf control section the correct mixed case name would be the content of the "Name=SingleLineEdit" property. Maybe you can add a switch to the "Designers" TabPage how to generate the class names: In upper case or according the exact "Name=xxx" content.
There are also some DBServer/Dataserver VO-SDK method names that should be changed from upper case to mixed case.
regards
Karl-Heinz
i tried the /cs switch and noticed some problems:
currently the XIDE generated code of e.g. a Sle looks like:
PROTECT oDCSingleLineEdit1 AS SINGLELINEEDIT
but what´s needed is "AS SingleLineEdit". When i look at the cavowed.inf control section the correct mixed case name would be the content of the "Name=SingleLineEdit" property. Maybe you can add a switch to the "Designers" TabPage how to generate the class names: In upper case or according the exact "Name=xxx" content.
There are also some DBServer/Dataserver VO-SDK method names that should be changed from upper case to mixed case.
Code: Select all
DbServer
FIELDGET FieldGet
FIELDPUT FieldPut
FLOCK FLock
INDEXKEY IndexKey
INDEXORD IndexOrd
RDDINFO RDDInfo
RLOCK RLock
SELECT Select
DataServer
FIELDGET FieldGet
FIELDPUT FieldPut
FLOCK FLock
RLOCK RLock
Karl-Heinz