String

List 26 Example of a string type condition definition
1<Item name="sampleitem" caption="Sample Item">
2  <Definition valueType="string" />
3</Item>
../_images/widget_example_string.png

Figure 49 Widget example of a string type condition

List 27 Code example to load a string type condition (for calculation conditions and grid generating conditions)
1integer:: ier
2character(200):: sampleitem
3
4call cg_iric_read_string(fid, "sampleitem", sampleitem, ier)
List 28 Code example to load a string type condition (for boundary conditions)
1integer:: ier
2character(200):: sampleitem
3
4call cg_iric_read_bc_string(fid, "inflow", 1, "sampleitem", sampleitem, ier)