FORMONLY item cannot be assigned a FORMAT ATTRIBUTE

"James B. Byrne via Aubit4gl-discuss" <[email protected]> Fri, 12 Mar 2021 11:22:27 -0500
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Code

      LET ga_items[curr_pa].total_price = ga_items[curr_pa].quantity
                                        * ga_items[curr_pa].unit_price
      DISPLAY ga_items[curr_pa].total_price to sa_items[curr_sa].total_price

DISPLAY ga_items[curr_pa].quantity, " * ",
        ga_items[curr_pa].unit_price, " = ",
        ga_items[curr_pa].total_price
SLEEP 5

What is shown in display

   1 *           250.0000 =

What is wrong with the calculation such that ga_items[curr_pa].total_price has
no value?


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:[email protected]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3