1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

iOS Question Is it possible to find out what version of B4i some code is being run on

Discussion in 'iOS Questions' started by JackKirk, Apr 15, 2019.

  1. JackKirk

    JackKirk Well-Known Member Licensed User

    I'm putting together a code snippet and it would be very handy to know what version of B4i the snippet is being run on.

    Is this possible? If so how?

    I've done a search through the forums without success.

    Thanks in anticipation...
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Not really. Can you post the code that you need it for?
     
  3. JackKirk

    JackKirk Well-Known Member Licensed User

    Erel,

    I am working on a project with Narek Adonts which will be presented as a class in iOS Libraries.

    Part of the project will be a simple wrapper on the class to demonstrate its capabilities - using the log.

    I wanted to add a log heading if the class was being run on B4i 5.50 to tell anyone looking at the log to click the LH arrow to be taken to the relevant statement.

    I can just make it a dumb header "If you are using B4i 5.50..." but the exercise got me wondering if it could be done (i.e. find out the B4i version from code).
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice