Versions Compared

Key

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

This routine is available starting with katl-commons SIL Engine™ 1.0.

Syntax

silEnv(variable_name)

...

A special variable is set 'sil.home' that will point to the actual location of the SIL programs. You can configure this folder from the SIL SIL™ configuration page.


Valid variables:

sil.home points to the folder keeping the SIL programs
• Any Java environment variable (such as 'java.home', 'os.arch', etc)
• Any environment variable, exported in the operating system (XX=aa; export XX)

...

Info

See Environment Variables for more details.

Parameters

Parameter name

Type

Required

Description

variable_name

string

yes

Env variable name.

Returns

string

Example

Code Block
print("Your SIL programs are in " + silEnv("sil.home"));

...

Content by Label
showLabelsfalse
showSpacefalse
cqllabel = "system_routines"
labelssystem_routines