Difference between revisions of "TUFLOW Message 0029"

From Tuflow
Jump to navigation Jump to search
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="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.
 
|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="green"><tt>End Define</tt></font>.
  

Revision as of 08:51, 10 August 2011

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.

Tip: When using commands such as Define Event == 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:

Define Event Name == 100y

BC Event Source == _ARI_ | 100y
Output Folder == ..\results_100y

End Define

Define Event Name == 06h

BC Event Source == _Durn_ | 06h
End Time == 9

End Define

Other examples of commands that benefit from indenting are:

  • Start 2D Domain ==
  • If Scenario ==


Up
Go-up.png 0xxx Messages