fbpx
Welcome, Guest
Username: Password: Remember me
Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET
  • Page:
  • 1

TOPIC: Problem in Converted Vulcan app in X #

Problem in Converted Vulcan app in X # 1 year 11 months ago #2068

  TrevorLE's Avatar Topic Author TrevorLE Offline Posts: 70
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
Attachments:

Please Log in or Create an account to join the conversation.

Problem in Converted Vulcan app in X # 1 year 11 months ago #2070

  robert's Avatar robert Offline Posts: 969
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:
CLASS foo
	PROTECT test.var AS LONG
END CLASS

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:
public class foo
{
	protected int var;

	[CompilerGenerated]
	public foo()
	{
	}
}

Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1