[Info-vax] 64 bit DCL ?

JF Mezei jfmezei.spamnot at vaxination.ca
Fri Jan 16 12:53:30 EST 2015


On 15-01-16 11:40, Keith Cayemberg wrote:
> One potential implementation design would be to introduce a new quadword radix symbol %q. %d would remain as an explicit 32-bit radix symbol. DCL continues to assume all operators and variables are 32-bit. But once an expression includes an explicit %q in the enumeration of an operand (or a symbol with the new symbol type QUADINT), then all operators and also the resulting symbol assign are implemented in their 64-bit form. 


what if:

myvar = %xFFFFFF    then "myvar" is created as a 32bit integer variable

myvar = %xFFFFFFFFFF  then myvar doesn't fit as 32, so created as 64 bit
type.


Could this work ?

In other words, have 2 types of integer variables, and whatever type is
assigned to a variable depends on the values being assigned to them ?



More information about the Info-vax mailing list