Post Reply 
Can we check a program from a program.
09-11-2017, 06:36 PM (This post was last modified: 09-11-2017 06:55 PM by Tim Wessman.)
Post: #7
RE: Can we check a program from a program.
How would this be for you?

On program store and successful compile, returns { }

Programs("name"):="EXPORT test()\nBEGIN\n\nEND;" ----> {}

On program store and failure on compile, returns { line_number_failure, character_position_failure, <reserved for future use> }

Programs("name"):="EXPORT test(\nBEGIN\n\nEND;" ----> {#2:64h,#12:64h}

That is the info you get in the CHECK button, note how the cursor position is placed at the end of BEGIN there which corresponds to the numbers I've given in the example.


AProgram would behave similarly.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Can we check a program from a program. - Tim Wessman - 09-11-2017 06:36 PM



User(s) browsing this thread: 2 Guest(s)