Define a primitive data type: Difference between revisions

m
→‎{{header|ooRexx}}: correct output
m (ooRexx move to proper position)
m (→‎{{header|ooRexx}}: correct output)
Line 939:
Say a*2
******************************************************************************/
Say '(0+a)*2='||((0+a)*2)
b=.tinyint~new(11); Say 'b='||b~value
b=.tinyint~new('B'); Say 'b='||b~value
Line 971:
<pre>a=1
2*a=2
(0+a)*2=2
Argument 1 must be between 1 and 10
27 *-* Raise Syntax 88.907 array(1,1,10,i)
Line 977:
13 *-* b=.tinyint~new(11);
Error 88 running D:\tinyint.rex line 27: Invalid argument
Error 88.907: Argument 1 must be in the range 1 to 10; found "11" </pre>
 
=={{header|Oz}}==
2,299

edits