Forum Discussion

sudhir_optima's avatar
sudhir_optima
Contributor
14 years ago

Error 110: Syntax error while lexing character.

I am trying to paste some common function in my Script. And getting above error.

I simply create a New Project suite. My client has wriiten some common function. I want to use them in my Project






3 Replies

  • Hi,


    The problem can occur if you use operators that are not supported by the script language you are using.


    Could you please send us the problematic script code?

  • Yes Margaret . I got it. The scripts function provided to us are written in C++. I am trying to use it in VB Script project.



    One question here, can  we convert C++ function to VB Script ?



    I am getting the syntax error , when calling the Script routine from Keyword script. Attached it is the screen shot of the same.



    Can any one help me why the error ?
  • Hi,




    One question here, can  we convert C++ function to VB Script ?


    You cannot do this automatically.




    I am getting the syntax error , when calling the Script routine from Keyword script. Attached it is the screen shot of the same.

    Can any one help me why the error ?


    The error can occur if the WaitForApplicationStart() function is not defined in the current script unit. Before calling the function, you need to declare it.