Variable size/Set: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: changed comments in the header section. -- ~~~~)
m (→‎{{header|REXX}}: added a comment about how REXX stores values of variables. -- ~~~~)
Line 324: Line 324:
=={{header|REXX}}==
=={{header|REXX}}==
In REXX, there are no minimums for variables holding character literals, so you just simply assign (set) character strings to REXX variables.
In REXX, there are no minimums for variables holding character literals, so you just simply assign (set) character strings to REXX variables.
<br>Note that REXX stores all the values of variables as characters, and that includes numbers and booleans.
<br>However, to insure that REXX can store numbers with a minimum size, the '''NUMERIC DIGITS nnn''' instruction can be used.
<br>However, to insure that REXX can store numbers with a minimum size, the '''NUMERIC DIGITS nnn''' instruction can be used.
<br><br>The default is 9 digits.
<br><br>The default is 9 digits.