Opened 4 years ago

Closed 4 years ago

#283 closed defect (fixed)

index_set returns extra radix indicator character (after numeric_to_ascii_base_ upgrade)

Reported by: Gary Dixon Owned by: Eric Swenson
Priority: major Milestone: MR12.8
Component: Tools Version: MR12.7
Keywords: Cc:

Description

numeric_to_ascii_base_ will soon have a revised calling sequence:

depd numeric_to_ascii_base_
dcl  numeric_to_ascii_base_ entry (float dec(59), fixed bin, fixed bin) 
       returns(char(72) var);

The pending change will lengthen its return value:

depd numeric_to_ascii_base_
dcl  numeric_to_ascii_base_ entry (float dec(59), fixed bin, fixed bin) 
       returns(char(256) var);

index_set.pl1 needs to be changed to use this revised calling sequence. And data returned by the revised numeric_to_ascii_base_ will include a radix indicator added to all non-decimal return strings. So code in the existing index_set needs to stop adding its own radix indicator. Otherwise, its generated non-decimal integers will end with two radix indicator letters.

>sss>ixs 6 12 -octal
6oo 7oo 10oo 11oo 12oo 13oo 14oo

Change History (2)

comment:1 by Gary Dixon, 4 years ago

MCR10118 corrected these problems.

comment:2 by Eric Swenson, 4 years ago

Milestone: MR12.8
Resolution: fixed
Status: newclosed
Version: MR12.7

Fixed with MR12.8-1031.

Note: See TracTickets for help on using tickets.