How to read Global Constans in offline-mode

Anonymous
2018-03-07
2018-03-20
  • Anonymous - 2018-03-07

    Originally created by: cf2017

    Hi there,

    does anyone know how to read the value of a globel constant while being offline?
    I know how to read values while being online using something like "myOnlineApp.read_value(...)".
    But in my case, I can't get online. I just want to open a project and get the values of some constants
    defined in the source code of the project.

    Thx

     
  • XopHeT - 2018-03-20

    1) Get the text of object declaration part using textual_declaration property
    (like described here l viewtopic.php?f=18&t=8558 l )
    2) Parse strings and find your constant initial value.

     

Log in to post a comment.