The converter gives error for "String*1"

4 posts, 0 answers
  1. partha
    partha avatar
    2 posts
    Member since:
    Dec 2006

    Posted 07 Oct 2008 Link to this post

    I had vb code containing the line

    Dim strChar1 As String*1

    The C# converter didn't understand this and gave the following error

    CONVERSION ERROR: Code could not be converted. Details:

    -- line 6 col 26: invalid EndOfStmt

    Please check for any errors in the original code and try again.

    When I commented out this line, it converted fine.






  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 08 Oct 2008 Link to this post

    Hi partha,

    The asterix symbol is a special character and I suppose the converting pointers is not supported by our online converter (other free online converters does not have support for that as well). We will consider improving this aspect of the code converter in the future - thank you for drawing our attention to this detail.
      
    Best regards,
    Stephen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. partha
    partha avatar
    2 posts
    Member since:
    Dec 2006

    Posted 08 Oct 2008 Link to this post

    Thanks

    Partha
  4. Todd
    Admin
    Todd avatar
    66 posts

    Posted 08 Oct 2008 Link to this post

    Hello partha,

    As a quick note, our online converter uses the open source NRefactor conversion engine developed by the SharpDevelop contributors. I'd encourage you to report this issue on their forums, too, so that support can be fixed in the source open source project:


    Hopefully we'll be able to provide a fix soon!

    -Todd
Back to Top