Visualizzazione post con etichetta getEnvironmentName(). Mostra tutti i post
Visualizzazione post con etichetta getEnvironmentName(). Mostra tutti i post

getDebugValue()

RC=getDebugValue()

Include file

libreria: <debug.cmh>
file: <debug\getdebug.cmh>

Dipendenze

getEnvironmentName()
getInterpreterName()

Descrizione

Questa funzione imposta l'ambiente di debug in base al valore della variabile di ambiente RX_DEBUG.

Input

Nessuno

Output

La funzione ritorna il codice numerico, secondo il seguente schema:

1: se RX_DEBUG = "YES" | "Y" | "1"
0: per ogni altro valore di RX_DEBUG.

[Home] [Index] [Usage] [Environment variable] [pre-processor] [funzioni] [debug]

getEnvironmentName

RC=getEnvironmentName()

Include file

libreria: <system.cmh>
file: <system\getenvna.cmh>

Dipendenze

getOperatingSystemName()
getInterpreterName()

Descrizione

Ritorna il nome della variabile ENVIRONMENT da usare nelle Rexx BuiltIn function a seconda dell''interprete Rexx e del sistema operativo in uso.

Input

Nessuno

Output

La funzione ritorna una stringa contenente l'identificatico dell'environment Rexx:

DOSENVIRONMENT
ENVIRONMENT
OS2ENVIRONMENT
SYSTEM

ERROR: si e' verificato un errore.

Note

Qualora si debbano introdurre altri tipi di interprete Rexx e di Sistemi Operativi questa funzione andrà modificata.

[Home] [Index] [Usage] [Environment variable] [pre-processor] [funzioni] [debug]