On 6/7/24 11:53, Jonathan Scott wrote:
    ...
 The SIGNED built-in function was
introduced as a partial workaround.
 .
I had been unaware of the SIGNED BiF.  I find the examples
in the Language Ref. inadequate:

SIGNED(10)        has value '10'
SIGNED(-10)       has value '-10'^M&A   SETA  10
&C   SETC  '&A'
&A   SETA  -10
&C   SETC  '&A'
&A has value 10
&C has value '10'
&A has value -10
&C has value '10' (unsigne)

It would be valuable to have a few more lines
with the argument a SETA symbol such as:
&A   SETA  -10
&C   SETC  'SIGNED(&A)'  Apostrophes?
&C has value '-10' (signed) (Or is it yet unsigned?)

I'd submit a Feedback, but I can't find the web page.

--
Thanks,
gil

Reply via email to