Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.18 KB

03_01_06_example_integer_select.rst

File metadata and controls

41 lines (29 loc) · 1.18 KB

Integer (Choice)

<Item name="flowtype" caption="Flow type">
  <Definition valueType="integer" default="0">
    <Enumeration value="0" caption="Static Flow"/>
    <Enumeration value="1" caption="Dynamic Flow"/>
  </Definition>
</Item>
images/widget_example_combobox.png

Widget example of a integer (choice) type condition

integer:: ier, flowtype

call cg_iric_read_integer(fid, "flowtype", flowtype, ier)
integer:: ier, flowtype

call cg_iric_read_bc_integer(fid, "inflow", 1, "flowtype", flowtype, ier)