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 # 10 Jul 2017 06:26 #2068

  • TrevorLE
  • TrevorLE's Avatar
  • Topic Author


  • Posts: 206
  • 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

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

    Problem in Converted Vulcan app in X # 10 Jul 2017 08:37 #2070

    • robert
    • robert's Avatar


  • Posts: 3289
  • 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

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

    • Page:
    • 1