I've noticed a few places where the "Fix casing" changes casing in the wrong way:
In Page object, "action(" element changes to "Action(", should remain "action" (I guess that it matches for Action::LookupOK)
In Page object, SourceTableView property, "SORTING" should change to "sorting", does not change
In Report object, DataItemTableView property, "SORTING" should change to "sorting", does not change
In Page object, SourceTableView property, "where" changes to "Where", shoud be "where"
"STRSUBSTNO" changes to "StrSubStNo", should be "StrSubstNo"
"RecordId" changes to "RecordID", should stay "RecordId"
"RecRef.Field" changes to "RecRef.field", should stay "RecRef.Field"
Datatype "label" should be changed to "Label"
"Next" as a value in an option string becomes "Next()", should stay as "Next (this one has resulted in really strange errors):
procedure SetColumns(SetWanted: Option Initial,Previous,Same,Next,PreviousColumn,NextColumn); and ActionChangePeriods(gSetWanted::Next);
becomes procedure SetColumns(SetWanted: Option Initial,Previous,Same,Next(),PreviousColumn,NextColumn); and ActionChangePeriods(gSetWanted::Next());
"modify" in a Page Extension layout changes to "Modify", should stay "modify"
layout { Modify("Job No.") should stay layout { modify("Job No.")
Page field TableRelation "where" changes to "Where", should stay "where"
TableRelation = Job Where ("Whatever" = field ("Whatever"));
Report DataItemTableView "where" changes to "Where", should stay "where"
"downto" in for statement changes to "DownTo", should stay "downto"
"COPYSTR" should change to "CopyStr", does not change
"EVALUATE" should change to "Evaluate", does not change
"SELECTSTR" should change to "SelectStr", does not change
"PageVariable.EDITABLE" should change to "PageVariable.Editable", does not change
"Record.CALCSUMS" should change to "Record.CalcSums", does not change
"FIELDERROR(" should change to "FieldError("
"ROUND(" should change to "Round("
That was what I found in my code right now, but I got the feeling that it's even more. ;-)
But overall it's doing a great job!
Maybe you should look into fin.stx to find all keyword that might need to be changed?
I've noticed a few places where the "Fix casing" changes casing in the wrong way:
In Page object, "action(" element changes to "Action(", should remain "action" (I guess that it matches for Action::LookupOK)
In Page object, SourceTableView property, "SORTING" should change to "sorting", does not change
In Report object, DataItemTableView property, "SORTING" should change to "sorting", does not change
In Page object, SourceTableView property, "where" changes to "Where", shoud be "where"
"STRSUBSTNO" changes to "StrSubStNo", should be "StrSubstNo"
"RecordId" changes to "RecordID", should stay "RecordId"
"RecRef.Field" changes to "RecRef.field", should stay "RecRef.Field"
Datatype "label" should be changed to "Label"
"Next" as a value in an option string becomes "Next()", should stay as "Next (this one has resulted in really strange errors):
procedure SetColumns(SetWanted: Option Initial,Previous,Same,Next,PreviousColumn,NextColumn);
andActionChangePeriods(gSetWanted::Next);
becomesprocedure SetColumns(SetWanted: Option Initial,Previous,Same,Next(),PreviousColumn,NextColumn);
andActionChangePeriods(gSetWanted::Next());
"modify" in a Page Extension layout changes to "Modify", should stay "modify"
layout { Modify("Job No.")
should staylayout { modify("Job No.")
Page field TableRelation "where" changes to "Where", should stay "where"
TableRelation = Job Where ("Whatever" = field ("Whatever"));
Report DataItemTableView "where" changes to "Where", should stay "where"
"downto" in for statement changes to "DownTo", should stay "downto"
"COPYSTR" should change to "CopyStr", does not change
"EVALUATE" should change to "Evaluate", does not change
"SELECTSTR" should change to "SelectStr", does not change
"PageVariable.EDITABLE" should change to "PageVariable.Editable", does not change
"Record.CALCSUMS" should change to "Record.CalcSums", does not change
"FIELDERROR(" should change to "FieldError("
"ROUND(" should change to "Round("
That was what I found in my code right now, but I got the feeling that it's even more. ;-)
But overall it's doing a great job!
Maybe you should look into fin.stx to find all keyword that might need to be changed?