Hello, is it possible to set the output radix of MPL of A166 from hex to decimal? Currently this code
%SET (VAL,10) val_text: db '%VAL' label%VAL:
val_text: db '0AH' label0AH:
val_text: db '10' label10:
How about...
%SET (VAL,'0AH')
Hello Jon, this is a syntax error. SET requires a numeric value, no string expression. I can use the MPL define as in
%DEFINE (VAL) (10) Label%VAL:
Hello Jon, meanwhile I found out that SET is internally defined as
%*DEFINE(SET(N,V)) (%DEFINE(%N)(%EVAL(%V)))
There is a hidden assembler directive that we made for one customer: EXPDECNUM. This directive should change the MPL expansions to decimal numbers.
This directive works in A166. Thanks for this hint! My old A51 V5.52b doesn't know this directive. Is it included in a newer A51 also? - Heinz