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: Sub Dialog Question  (Read 7736 times)
Gary C.
Posts: 109


« on: January 18, 2014, 02:59:01 pm »

Hi

Am I right in thinking that within a declarative dialog block one can only have one input, display array, input array statement?

What I am trying to do is something like:

Code:
DIALOG statistics()     
    DISPLAY ARRAY areaA[1].nodeA TO tble_1.*                               
                                                               
    END DISPLAY                                                                                         
    DISPLAY ARRAY areaA[2].nodeA TO tble_2.*                               
                                                             
    END DISPLAY                                                                                         
    DISPLAY ARRAY areaA[3].nodeA TO tble_3.*                               
                                                             
    END DISPLAY
END DIALOG

Will I need to split the above into multiple dialog blocks and use them via separate SUBDIALOG statements?

Thanks

Gary
Sebastien F.
Four Js
Posts: 545


« Reply #1 on: January 20, 2014, 09:59:25 am »

Yes, a declarative DIALOG block allows only one INPUT / DISPLAY ARRAY / INPUT ARRAY / CONSTRUCT definition.

See the syntax in the BDL 2.50 documentation (search for "DIALOG dialog-name"):
https://4js.com/online_documentation/fjs-fgl-manual-html/?path=fjs-fgl-manual#c_fgl_multiple_dialogs_003.html

In the next version, you will also be able to define a MENU.
We are completing the description of this instruction in the 2.51 doc.

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

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines