Page tree

Should you require any more information or have encountered a problem, please call the support helpdesk on (07) 5456 6000.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Node value initialisation

************NOTE: this worked example section of the wiki is now out of date as GELLO is currently at R.2. This code will not work in later versions of the editor. We intend to update this section to R2 GELLO soon. ****************


GELLO code will be used to initialise the value of 'Best use'. To keep things simple in this example we won't do clever things with numbers, quantities or coded values; but simply declare that the GELLO will return a text string as the initialised value for the node.

 

  1. Open the apple archetype and unfold the Cluster to click on 'Best use'. You could leave its datatype as mtAny or make it mtString.
     
  2. Click on the pane next to OnInitialize in the RHS, then on DotDotDot.PNG.
     
  3. Simply put the following in as the GELLO code - keep the inverted commas as this GELLO result will be of string datatype:
     

    'Use this field to enter information about best use'
  4. Test in Preview.
     
  5. Save your work.

 

  • No labels