12-01-2022
07:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-01-2022
07:45 AM
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)