0

Global script definitions

Hello,

What kind of information, commands, ..., can I use in the Global script definitions?

I thought I could define there global variables, etc.

I tried to do that, but when testing this in Console I get an error message "Field not found".

What am I missing?

Jose

5 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 4 yrs ago
    • Reported - view
    • JGM
    • Jose_Monteiro
    • 4 yrs ago
    • Reported - view

    It was not really that. 

    Anyway I learned a lot from this thread and the use of global variables.

    Thanks.

    What I was trying to understand is the purpose of the "Global script definitions" field in the Options Panel.

    One more question: How can I find the version o Ninox that is running on my mac? and on my iPhone?

    Jose

    • Sean
    • 4 yrs ago
    • Reported - view

    It allows you to create your own functions that can be used anywhere in the same database. This is all that is available in the manual...

     

    Creating User defined functions locally with the function command:

    function name(argument:data type,...)
    do <script instructions> end

    Note that a custom function can appear anywhere in a script, but they must come before any call to them, including calling another custom function.

     

    https://ninoxdb.de/en/manual/calculations/reference-of-functions-and-language

    • Sean
    • 4 yrs ago
    • Reported - view

    Currently, you need to go to the app store to see the version number.

    • JGM
    • Jose_Monteiro
    • 4 yrs ago
    • Reported - view

    Thanks for your help.

Content aside

  • 4 yrs agoLast active
  • 5Replies
  • 1551Views