Jump to content

Host introspection: Difference between revisions

m
→‎{{header|REXX}}: changed wording in header section. -- ~~~~
m (→‎{{header|REXX}}: added REXX code for parsing SOURCE to determine which operating system it's running under. -- ~~~~)
m (→‎{{header|REXX}}: changed wording in header section. -- ~~~~)
Line 660:
 
=={{header|REXX}}==
Since all variables in the REXX language are stored as characters, the wordsize is immaterial (REXX supports variable precision for numbers).
<br>This also applies to the "endiness" of words or how they are stored.
the wordsize is immaterial (REXX supports variable precision for numbers). This also
<br>The REXX language was designed for scripting and interfacing with the operating system.
applies to the "endiness" of words or how they are stored.
<br>However, there is a STORAGE built-in function that allows a programm to look at (local) storage, and if there is an
<br>The REXX language was designed for scripting and interfacing with the operating
<br>indicator stored anywhere in the virtual address space, that it can be examined.
system.
<br>However, there is a STORAGE built-in function that allows a
programmer to look at (local) storage, and if there is an indicator stored anywhere
in the virtual address space, that it can be examined.
<lang rexx>/*REXX program to examine which operating system that REXX is running under. */
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.