Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=Environment+Variables+-+496206033
widthauto

Excerpt

In addition to the local variables defined in a SIL™ program and issue variables (Variable Resolution), there are environment variables. These are global constants you can access in any SIL™ program using the silEnv routinefunction.

In addition to the local variables defined in a SIL™ program and issue variables (Variable Resolution), there are environment variables. These are global constants you can access in any SIL™ program using the silEnv routine function.

Declaring Environment Variables

...

Code Block
number VAT = silEnv("VAT");
number price = customfield_10019;
print("VAT is:" + (price * VAT));
We've encountered an issue exporting this macro. Please try exporting this page again later.