Anonymous user
Host introspection: Difference between revisions
m
→{{header|REXX}}: added REXX code for parsing SOURCE to determine which operating system it's running under. -- ~~~~
(→{{header|Perl 6}}: add entry) |
m (→{{header|REXX}}: added REXX code for parsing SOURCE to determine which operating system it's running under. -- ~~~~) |
||
Line 668:
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. */
parse source opSys howInvoked pathName
/*where opSys will indicate which operating system REXX is running under, and */
/*from that, one could make assumptions what the wordsize is, etc. */</lang>
=={{header|Ruby}}==
|