>Hi everybody,
>
>I'm trying to run one form from my old application. This form is based on the class BaseForm and it is failing on the method BaseForm.Load on the line:
>
>
>thisform.ltClass=gctemppath+SYS(3)
>
> CREATE TABLE (thisform.ltclass) FREE (CLASS C(40))
>
>(Code written by my colleague). SYS(3) returns a string with all numbers.
To avoid the possibility that gcTempPath is not ending with a backslash, I prefer
thisform.ltClass=ForcePath(SYS(3),gctemppath)
I've seen sys(3) return a sys(2015)-like string under DOS3.3, then saw it return digits only under Novell 3.x, then saw it return a string with charactrers A-P only (16 of them... hex-like), then a combination of digits and characters. Over the years its format was changing a lot.
Just use CodeReferences and weed out the sys(3), replacing it with sys(2015) everywhere. I haven't used sys(3) for years.