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
+
<tt><nowiki>Define Event Name == 100y<br>
 
   BC Event Source == _ARI_ | 100y<br>
 
   BC Event Source == _ARI_ | 100y<br>
   Output Folder == ..\results_100y
+
   Output Folder == ..\results_100y<br>
End Define
+
End Define<br>
  
Define Event Name == 06h
+
Define Event Name == 06h<br>
    BC Event Source == _Durn_ <nowiki>|</nowiki> 06h
+
  BC Event Source == _Durn_ <nowiki>|</nowiki> 06h
    End Time == 9
+
  End Time == 9
 
End Define</nowiki></tt>
 
End Define</nowiki></tt>
  

Revision as of 21:06, 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<br> BC Event Source == _ARI_ | 100y<br> Output Folder == ..\results_100y<br> End Define<br> 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