Host introspection: Difference between revisions
Content added Content deleted
m (→{{header|Delphi}}: no need to use inttostr) |
(→{{header|REXX}}: added the REXX language. -- ~~~~) |
||
Line 653: | Line 653: | ||
Returns 0 for little endian, and 1 for big endian. |
Returns 0 for little endian, and 1 for big endian. |
||
=={{header|REXX}}== |
|||
Since all variables in the REXX language are stored as characters, |
|||
the wordsize is immaterial (REXX supports variable precision for numbers). This also |
|||
applies to the "endiness" of words or how they are stored. |
|||
<br>The REXX language was designed for scripting and interfacing with the operating |
|||
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. |
|||
<br><br> |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |