TUFLOW Message 0040: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
Content deleted Content added
| mNo edit summary | No edit summary | ||
| Line 25: | Line 25: | ||
| |link3='' | |link3='' | ||
| |link4='' | |link4='' | ||
| |prelink=[[ | |prelink=[[TUFLOW_Message_0038|Message 0038]] | ||
| |uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]] | |uplink=[[0xxx_TUFLOW_Messages|0xxx Messages]] | ||
| |nextlink=[[TUFLOW_Message_0041|Message 0041]] | |nextlink=[[TUFLOW_Message_0041|Message 0041]] | ||
Revision as of 14:12, 9 October 2018
TUFLOW Message 
ERROR 0040 - No End If specified for If Scenario.
Alternate Message 
NA
Message Type 
ERROR
Description 
No End If command was found to close of the If Scenario ==  block.
Suggestions 
Add the End If command where it is missing.
Tip: When using commands such as If Scenario == 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:
If Scenario == 1974
- Read GIS Z Shape == mi\2d_zsh_road_remove.mif
Else If Scenario == exg | OpA
- Read GIS Z Shape == mi\2d_zsh_road_exg.mif
Else If Scenario == OpB
- Read GIS Z Shape == mi\2d_zsh_road_OpB.mif
End If
Other examples of commands that benefit from indenting are:
- Start 2D Domain ==
- Define Event ==
| Up | 
|---|
|  0xxx Messages |