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 3941 times)
Gary C.
Posts: 102

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


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:

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.*                               

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


Sebastien F.
Four Js
Posts: 486

« 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"):

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.

Pages: [1]
  Reply  |  Print  
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines