Difference between revisions of "TUFLOW Message 0029"

From Tuflow
Jump to navigation Jump to search
Line 8: Line 8:
 
Tip: When using commands such as <font color="green"><tt>Define Event ==</tt></font> indent the commands that follow.  For example:
 
Tip: When using commands such as <font color="green"><tt>Define Event ==</tt></font> indent the commands that follow.  For example:
  
<tt><nowiki>Define Event Name == 100y<br>
+
<tt><nowiki>
   BC Event Source == _ARI_ | 100y<br>
+
Define Event Name == 100y
   Output Folder == ..\results_100y<br>
+
 
End Define<br>
+
   BC Event Source == _ARI_ | 100y
 +
 
 +
   Output Folder == ..\results_100y
 +
 
 +
End Define
  
 
Define Event Name == 06h<br>
 
Define Event Name == 06h<br>

Revision as of 21:07, 4 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 that follow. For example:

Define Event Name == 100y BC Event Source == _ARI_ | 100y Output Folder == ..\results_100y End Define Define Event Name == 06h<br> BC Event Source == _Durn_ <nowiki>| 06h

  End Time == 9

End Define</nowiki>

Other examples of commands that benefit from indenting are:

  • Start 2D Domain ==


Up
Go-up.png 0xxx Messages