With the above changes I made, it fails compile here when I do this
ABS('Hello World');
Compile Project, Target: project1.exe: Exit code 1, Errors: 1, Hints: 1
project1.lpr(27,20) Error: Variable identifier expected
project1.lpr(17,10) Hint: Found declaration: ABS(var Variant):Variant;
So how is this a problem?
What I am finding is some strange happenings with the name scoping..
System.abs is the same as Abs for other than Variant types but,
System.Abs allows a constant while ABS does not and it calling the same one.
oh well