Difference between revisions of "TUFLOW Message 0015"

From Tuflow
Jump to navigation Jump to search
Line 16: Line 16:
 
This error indicates the variable "a" is not defined before it is used.
 
This error indicates the variable "a" is not defined before it is used.
 
|suggestions=Check to ensure variable "a" is defined.
 
|suggestions=Check to ensure variable "a" is defined.
|discussion_page=* [[Talk:TUFLOW Message 0015|Discuss Message 0015]]
+
<br>
|link3=''
 
|link4=''
 
 
|prelink=[[TUFLOW_Message_0013|Message 0013]]
 
|prelink=[[TUFLOW_Message_0013|Message 0013]]
 
|uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]]
 
|uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]]
 
|nextlink=[[TUFLOW_Message_0020|Message 0020]]
 
|nextlink=[[TUFLOW_Message_0020|Message 0020]]
 
}}
 
}}

Revision as of 12:00, 1 July 2022

TUFLOW Message
ERROR 0015 - Variable "a" not defined.

Alternate Message
NA

Message Type
ERROR

Description
Variables can be defined by the Set Variable 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.
In the .tcf file:
If Scenario == 2m

Set Variable 2D_CELL_SIZE == 2

If Scenario == 5m

Set Variable 2D_CELL_SIZE == 5

End If

In the .tgc file:
Cell Size == <<2D_CELL_SIZE>>

This error indicates the variable "a" is not defined before it is used.

Suggestions
Check to ensure variable "a" is defined.


Up
Go-up.png 0xxx Messages