JKEYAUTO PUTENV

Man Page Index


Description

Export a variable to become an external environment variable so that child processes executed through subsequent PERFORM, EXECUTE or PROGRAM statements can see it.

 

Syntax

putenv expression

expression is the name and value of the external

 

Example

portno = 1001
PUTENV "JBCPORTNO=":portno

In the above example the variable portno is created as 1001 and then made into an external environment variable. This is used in this example by jBASE to decide the port number of any subsequent programs that are loaded.

Environment variables are only exported to child processes. Once jkeyauto terminates, all the environment variables are lost.


JKEYAUTO