Difference between revisions of "TUFLOW Message 0029"

From Tuflow
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|alt_msg=NA
 
|alt_msg=NA
 
|type=[[ERROR]]
 
|type=[[ERROR]]
|message_desc=An <font color="green"><tt>End Define</tt></font> command was found outside a <font color="green"><tt>Define Event == </tt></font> / <font color="green"><tt>End Define</tt></font> block.
+
|message_desc=An <font color="blue"><tt>End Define</tt></font> command was found outside a <font color="blue"><tt>Define Event </tt></font><font color="red"><tt>== </tt></font> .... <font color="blue"><tt>End Define</tt></font> block.
|suggestions=Scan the console window or .tlf file to establish where TUFLOW is in the event file.  Check the event file and locate the problematic <font color="green"><tt>End Define</tt></font>.
+
|suggestions=Scan the console window or .tlf file to establish where TUFLOW is in the event file.  Check the event file and locate the problematic <font color="blue"><tt>End Define</tt></font>.
 +
<br>
  
Tip: When using commands such as <font color="green"><tt>Define Event ==</tt></font> indent the commands within the block that follows as this makes it much easier to interpret which commands apply to which event definition.  For example:
 
 
<tt>
 
Define Event Name == 100y
 
:BC Event Source == _ARI_ <nowiki>|</nowiki> 100y
 
:Output Folder == ..\results_100y
 
End Define
 
 
Define Event Name == 06h<br>
 
:BC Event Source == _Durn_ <nowiki>|</nowiki> 06h
 
:End Time == 9
 
End Define</tt>
 
 
Other examples of commands that benefit from indenting are:
 
* <font color="green"><tt>Start 2D Domain ==</tt></font>
 
* <font color="green"><tt>If Scenario ==</tt></font>
 
 
|discussion_page=* [[Talk:TUFLOW Message 0029|Discuss Message 0029]]
 
|link3=''
 
|link4=''
 
|prelink=[[TUFLOW_Message_0028|Message 0028]]
 
 
|uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]]
 
|uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]]
|nextlink=[[TUFLOW_Message_0030|Message 0030]]
 
 
}}
 
}}

Latest revision as of 10:00, 22 December 2022

TUFLOW Message
ERROR 0029 - "End Define" found in incorrect location.

Alternate Message
NA

Message Type
ERROR

Description
An End Define command was found outside a Define Event == .... End Define block.

Suggestions
Scan the console window or .tlf file to establish where TUFLOW is in the event file. Check the event file and locate the problematic End Define.


Up
Go-up.png 0xxx Messages