www.icetips.com  Icetips Utilities Documentation 4/14/2016    

Shell Class:  GenEnvVariables

Previous  Top  Next  


Prototype: (),LONG,PROC

 

ReturnsReturns the number of environment variables retrieved from the operating system environment

 

Example:

ITS  ITStringClass

I    LONG

CODE

ITS.GenEnvVariables()

LOOP I = 1 TO RECORDS(ITS.EnvVars)

   GET(ITS.EnvVars,I)

   ITS.ODS(FORMAT(I,@n_3) & ' ' & FORMAT(ITS.EnvVars.VarName,@s30) & ' = ' & ITS.EnvVars.VarValue)

END

 

See also:

GetEnvVar

 



Direct link to this page: http://www.icetips.com/manuals/utilities/genenvvariables_shellclass.htm