Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Before row not fired for an empty DISPLAY ARRAY.  (Read 7378 times)
David H.
Posts: 158


« on: November 08, 2010, 01:36:05 pm »

Comparing v2.11.02 to v2.21.10 we have noticed a change in behaviour with DISPLAY ARRAY when there are no rows to display. i.e:-

Code
  1.    #assuming desc_arr is empty...
  2.    DISPLAY ARRAY desc_arr TO smenu_arr.*
  3.        BEFORE DISPLAY
  4.            DISPLAY "Before Display"
  5.        BEFORE ROW
  6.            DISPLAY "Before Row"
  7.        AFTER ROW
  8.            DISPLAY "After Row"
  9.        ON KEY (F10)
  10.            EXIT DISPLAY
  11.    END DISPLAY
  12.  

With v2.11.02

Before Display
Before Row

With v2.21.10

Before Display

I don't see this mentioned in the 2.2x migration guide, so again I'm wondering if its a bug or a change in behaviour?

TIA.

David

Reuben B.
Four Js
Posts: 1047


« Reply #1 on: November 08, 2010, 10:04:01 pm »

Hi David,

That is 10466 https://4js.com/en/support/issue/?id=10466

Also I'm linking to our issue tracker, that has a search facilitity so plug in some keywords and you can normally find out fairly quickly if there are any public issues with particular syntax ...

 https://4js.com/en/support/issue/?id=&product=FGL&stat=&fixed_in=&words=BEFORE+ROW&Search=Search

Reuben

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
David H.
Posts: 158


« Reply #2 on: November 09, 2010, 01:39:08 pm »

Thanks Reuben.

I did actually try a forum search before posting but completely forgot about your issue tracker. Next time hopefully!

Cheers,

David
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines