the Transform() is one of the most important functions for me, and one the .NET Framework does not have.
My plan is to write future X# applications to use the Core dialect whenerver possible. Therefore I would need a sort of Transform() function in the XSharp.Core library (and maybe other people also).
Since the Transform() function can have parameters of type "usual", IMHO it is not possible to have this function the XSharp.Core library, but it must remain in the XSharp.VO library.
But it should be possible to have the core funtionality of both the Transform() and the Untransform() function with another name in the XSharp.Core library and have the functions in the XSharp.Vulcan library call the ones in the XSharp.Core library.
Why the Transform() function is so important to me? I was never able to understand how people that builds business applications can use controls without a input picture. One of the most stupid samples is in Outlook: you can put even letters in the "new appoinment" dialog in the time fields.
Therefore when the runtime is available I will try to release an edit control for both WinForms and WPF that accepts a Xbase style picture.
Its sibling function Unformat is in the same file.
There are "worker methods" for various types in that code.
And the code is mostly Clipper/VO style code. We could easily convert that code to use .Net methods in stead of Clipper/VO style functions but did not have the time to do all of that.
It is not so easy to move that code to XSharp.Core because some of the methods TransformD and UnformatD depend on the Date Type and functions like CTOD and DTOC. The TransFormN function also calls runtime functions like Str2() and Str3() which accept FLOAT parameters.
XSharp Development Team