I am doing some initial testing on porting some Vulcan apps to X# and have hit a problem as follows
I have attached 2 images showing a small converted app that compiles in Vulcan - but in X# gets an "expecting EOS" error when compiling. I am assuming it is because the variable name "winHtmlBody.ToolStripSeparator1" has the full stop in it, but this compiled okay in Vulcan.
thanks
Trevor
Problem in Converted Vulcan app in X #
Problem in Converted Vulcan app in X #
- Attachments
-
- Capture1.PNG (140.78 KiB) Viewed 337 times
-
- Capture.PNG (138.06 KiB) Viewed 337 times
Problem in Converted Vulcan app in X #
Trevor,
The fact that Vulcan allows a dot in the protected variable name is clearly a bug in Vulcan. I just created the following test code in Vulcan:
If you look (with Reflector or ILSpy) in the generated assembly then you will see that the "test." part of the variable name gets thrown away by the Vulcan compiler:
Robert
The fact that Vulcan allows a dot in the protected variable name is clearly a bug in Vulcan. I just created the following test code in Vulcan:
Code: Select all
CLASS foo
PROTECT test.var AS LONG
END CLASS
Code: Select all
public class foo
{
protected int var;
[CompilerGenerated]
public foo()
{
}
}
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu