- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Two Separate Next Statements in one Rule
I am newer to ilogic
but can someone post a simple example of have two next statements in a rule
Like
If A=b then
Next Statement A
Else if A=c
Next Statement B
End if
I am not sure how to isolate next statements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am not sure what you are trying to accomplish with this. "Next" is a keyword in VB.NET (Link1, Link2), which is used at the end of a loop, such as (For Each Item In Items...do something with Item...Next), or (For i As Integer = 1 to 10...do something...Next). That keyword is used to cause the process to return to the start of the loop, and advance to process the next item in the collection, or next Integer in a count. Maybe you are meaning to use 'GoTo' there, such as If something evaluates to True, GoTo MyCodeBookmark1 (where MyCodeBookmark1 represents a position somewhere in your code that you want it to jump to.
Wesley Crihfield
(Not an Autodesk Employee)