Long variable prob with break processing still

Shane Gray shane at satsof.com.au
Tue Apr 5 18:53:57 PDT 2005


Could someone verify if this is a problem or just me thinking it was supposed to be fixed.

filepro v5.0.14 SCO.  d/rreport.

Assigning a long variable to a normal dummy during main processing forces the dummy to lose its
value in break processing.  See following code sample.

  1  -------   -   -   -   -   -   -   -   -   -   -   -
       . If:
       Then: declare testlong(5,*,g)
  2  -------   -   -   -   -   -   -   -   -   -   -   -
       . If:
       Then: aa(5,*,g)="abcde"
  3  -------   -   -   -   -   -   -   -   -   -   -   -
       . If: 'this breaks it, only declare global works
       Then: testlong=aa; aa=testlong
  4  -------   -   -   -   -   -   -   -   -   -   -   -
       . If:
       Then: end
  5  -------   -   -   -   -   -   -   -   -   -   -   -
@wgt   . If: '
       Then: '
  6  -------   -   -   -   -   -   -   -   -   -   -   -
       . If:
       Then: msgbox "aa="&aa&" testlong="&testlong; end

It doesn't matter what combination of ,g on the long variable and dummy variable is used.

If it's not just me I will report to fpsupport.

Thanks.

 Shane Gray
 Senior Software Engineer

 shane at satsof.com.au

 Satisfaction Software         Ph:  +61-7-3268-4722
 Unit 4, 193 Hedley Ave,       Fax: +61-7-3268-4359
 Hendra, Qld, 4011.            Web: http://www.satsof.com.au
 P.O. Box 393
 Northgate, Brisbane, Qld, 4013.
 Australia.



More information about the Filepro-list mailing list