TUFLOW Message 0028: Difference between revisions

From Tuflow
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 3: Line 3:
|alt_msg=NA
|alt_msg=NA
|type=[[ERROR]]
|type=[[ERROR]]
|message_desc=No <font color="green"><tt>End Define</tt></font> command was found to close of the <font color="blue"><tt>Define Event </tt></font><font color="red"><tt>== </tt></font> block for the event.
|message_desc=No <font color="blue"><tt>End Define</tt></font> command was found to close of the <font color="blue"><tt>Define Event </tt></font><font color="red"><tt>== </tt></font> block for the event.
|suggestions=Check the event file. Add the <font color="green"><tt>End Define</tt></font> command where it is missing.
|suggestions=Check the event file. Add the <font color="blue"><tt>End Define</tt></font> command where it is missing.


'''Tip:''' When using commands such as <font color="blue"><tt>Define Event </tt></font><font color="red"><tt>== </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:
'''Tip:''' When using commands such as <font color="blue"><tt>Define Event </tt></font><font color="red"><tt>== </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>
<tt>
Define Event Name == 100y
<font color="blue">Define Event Name </font><font color="red">== </font>100y
:BC Event Source == _ARI_ <nowiki>|</nowiki> 100y
:<font color="blue">BC Event Source </font><font color="red">== </font>_ARI_ <nowiki>|</nowiki> 100y
:Output Folder == ..\results_100y
:<font color="blue">Output Folder </font><font color="red">== </font> ..\results_100y
End Define
<font color="blue">End Define</font>


Define Event Name == 06h<br>
<font color="blue">Define Event Name </font><font color="red">== </font>06h<br>
:BC Event Source == _Durn_ <nowiki>|</nowiki> 06h
:<font color="blue">BC Event Source </font><font color="red">== </font> _Durn_ <nowiki>|</nowiki> 06h
:End Time == 9
:<font color="blue">End Time </font><font color="red">== </font> 9
End Define</tt>
<font color="blue">End Define</font></tt>


Other examples of commands that benefit from indenting are:
Other examples of commands that benefit from indenting are:
Line 23: Line 23:
* <font color="blue"><tt>If Scenario </tt></font><font color="red"><tt>== </tt></font>
* <font color="blue"><tt>If Scenario </tt></font><font color="red"><tt>== </tt></font>


|discussion_page=* [[Talk:TUFLOW Message 0028|Discuss Message 0028]]
|link3=''
|link4=''
|prelink=[[TUFLOW_Message_0027|Message 0027]]
|uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]]
|uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]]
|nextlink=[[TUFLOW_Message_0029|Message 0029]]
}}
}}

Latest revision as of 09:59, 22 December 2022

TUFLOW Message
ERROR 0028 - No "End Define" specified for "Define Event Name == <event_name>"

Alternate Message
NA

Message Type
ERROR

Description
No End Define command was found to close of the Define Event == block for the event.

Suggestions
Check the event file. Add the End Define command where it is missing.

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
0xxx Messages