Click or drag to resize

X# Runtime Reference

This is the generated documentation for the XSharp Runtime.
Please note that DotNet does not know the concept of a function. Therefore the compiler converts functions to static methods of a compiler generated functions class.
The same is true for DEFINES. These are added as constants fields in the functions class.
The XSharp runtime has a couple of these classes:
  • XSharp.Core.Functions
  • XSharp.RT.Functions
  • XSharp.VO.Functions
  • XSharp.XPP.Functions
There is no need to do anything special when writing code. The compiler will automatically resolve function calls, such as: Left(cString,10) and will generate the following output XSharp.Core.Functions.Left(cString,10). The compiler will also translate a define such as FA_NORMAL to XSharp.Core.Functions.FA_NORMAL.
In fact the compiler will include the value of this DEFINE in the generated code. You will not be able to see in the generated code that the value 0x00000080 was read from the FA_NORMAL define.
The source code for the XSharp Runtime is available on GitHub.
If you find bugs with this code, please report them by sending an email to bugreports@xsharp.eu.
Or even better, locate the bug and send us a bugfix.
The best way to do that is :
  • Create a Fork of our Github repository
  • Create a unit test in the appropriate unit tests project
  • Fix the problem
  • Send us a pull request for the unit test and the bug fix
Of course you can also discuss issues you have or send us your comments on the forum on our website
Finally, if you like what you are seeing, you can help to support the X# development by subscribing to the "Friends Of XSharp" (FOX) program.
More information about that program can be found at our website as well.
Namespaces
NamespaceDescription
XSharp
This namespace contains the classes and structures that are used to implement the XBase types, such as USUAL, SYMBOL DATE and FLOAT
XSharp.Core
This namespace contains the Functions class that implements the Runtime functions available in XSharp.Core DLL
XSharp.Internal
This namespace contains types (classes and attributes) used by the compiler. These are normally not used in End users (your) code
XSharp.RDD
The XSharp.RDD group contains namespaces that are related to the XSharp RDD System
XSharp.RT
This namespace contains the Functions class that implements the Runtime functions available in XSharp.RT.DLL
XSharp.VO
This namespace contains the Functions class that implements the Runtime functions available in XSharp.VO.DLL
XSharp.XPP
This namespace contains the Functions class that implements the Runtime functions available in XSharp.XPP.DLL