TUFLOW Message 0015: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 3:
|alt_msg=NA
|type=[[ERROR]]
|message_desc=Variables can be defined by the <font color="blue"><tt>Set Variable </tt></font> command. For example, in the case below a variable “2D_CELL_SIZE” is used to set the 2D cell size of the model under different model scenarios.<br>
In the .tcf file: <br>
<font color="blue"><tt>If Scenario </tt></font> <font color="red"><tt>==</tt></font> 2m<br>
:<font color="blue"><tt>Set Variable </tt></font> 2D_CELL_SIZE <font color="red"><tt>==</tt></font> 2<br>
<font color="blue"><tt>If Scenario </tt></font> <font color="red"><tt>==</tt></font> 5m<br>
:<font color="blue"><tt> Set Variable </tt></font> 2D_CELL_SIZE <font color="red"><tt>==</tt></font> 5<br>
<font color="blue"><tt>End If </tt></font><br><br>
In the .tgc file: <br>
<font color="blue"><tt>Cell Size </tt></font> <font color="red"><tt>==</tt></font> <<2D_CELL_SIZE>><br><br>
This error indicates the variable "a" is not defined before it is used.
|suggestions=Check to ensure variable "a" is defined.
|discussion_page=* [[Talk:TUFLOW Message 0015|Discuss Message 0015]]
| |||