Reflection/List properties: Difference between revisions

Content deleted Content added
Walterpachl (talk | contribs)
add ooRexx showing use of the datatype function
Walterpachl (talk | contribs)
Line 405: Line 405:


=={{header|ooRexx}}==
=={{header|ooRexx}}==
The datatype builtin function can be uses o determine the data type of a giveb string.
The datatype builtin function can be used to determine the data type of a given string.

Many of these options are also supported by other REXX implementations.
Many of these options are also supported by other REXX implementations.
<lang oorexx>/* REXX demonstrate uses of datatype() */
<lang oorexx>/* REXX demonstrate uses of datatype() */
Line 468: Line 469:
123 1 0 1 0 0 1 0 1 0 0 1 1 1 NUM
123 1 0 1 0 0 1 0 1 0 0 1 1 1 NUM
A B I L M N O S U V W X 9 datatype(v)</pre>
A B I L M N O S U V W X 9 datatype(v)</pre>



=={{header|Perl 6}}==
=={{header|Perl 6}}==