Welcome to APLNext Sign in | Join | Help
in
Community Website
Blogs Forums

Unable to cast object

Last post 05-09-2007, 11:29 AM by Jairo.Lopez. 1 replies.
Sort Posts: Previous
  • Unable to cast object

     05-04-2007, 5:36 PM

    Hello,

    SITUATION

    I transferred a legacy function which I use to solve zeros of a function. The function called NEWTON.

    When I open my project, I Use Load(run) in Cielo Explorer. If I check the list of function I get
    An NEWTON Sn; the functions contained in my script
     
    Sn and An will work correctly. However NEWTON will give me the following error  Unable to cast object of type 'VisualCielo.Numeric.DataObjects.cvar' to type 'System.IConvertible'.
     
    If I edit NEWTON and quit with ALT-EE, I still get the same error
     
    If I edit NEWTON and make a small modification  (add or remove a comment) and quit with ALT-EE, It now works
     
    QUESTION
    Do I do something wrong? What should I do to load the function correctly?
     
    Basically, I seems that when my script is reinitialized by making a modification and saving it works but not when I load it into Cielo.
     
    Also I noticed that na expression like →RES←0 does not seem to work any more. Is it normal.
  • Re: Unable to cast object

     05-09-2007, 11:29 AM

    QUESTION

    Is the version of the NEWTON function in your script the one that runs?

    Or every version of the script presents the same problem ? (you always need to make a small change in NEWTON)

    COMMENT

    Branch (→) is supported for labels, not line numbers.

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems