xsharp.eu • XSharp.Core vs. XSharp.RT ??
Page 1 of 1

XSharp.Core vs. XSharp.RT ??

Posted: Thu Feb 13, 2020 12:58 am
by Anonymous
What is the matter that separates the Functions in XSharo.Core versus the ones that are in XSharp.RT ??


2020-02-12 18_54_49-.png
2020-02-12 18_54_49-.png (46.56 KiB) Viewed 141 times

XSharp.Core vs. XSharp.RT ??

Posted: Thu Feb 13, 2020 5:17 am
by wriedmann
Hi Matt,
XSharp.Core contains functions that are strong typed and don't have any reference to xBase datatypes, like date and array, and should be compiled in the Core dialect.
XSharp.RT contains the xBase datatypes and all the functions that work on these datatypes and permit parameter skipping and all the other xBase specific functions.
In both of these libraries there should be all these functions and classes that are common to all xBase dialects like VO, VFP, Xbase++ and so forth.
And then there are the dialect specific runtimes: XSharp.VFP and XSharp.VO, containing the dialect specific implementations.
The separation may create confusion, but has much sense because you can use the Core library even from C# or X# Core dialect, and the RT is the base of all the common xBase functionality. So there should be no duplicate code that is hard to maintain.
Wolfgang