- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I keep getting a rule compile error "all other subs and functions must appear after sub main" (see attached) for one of the rules in an assembly file. The thing is, Sub Main is the only sub or function in the rule and the only thing outside of it is my option explicit line. I checked, double checked, and then triple checked that I didn't have some stray sub statement somewhere and that Sub Main didn't have a typo. I even tried deleting the option explicit line and making Sub Main the very first line in the rule. I would just blow away the sub / end sub since it's the only one in the rule but I need to pass variables to it and I'm using the Sub Main(ByVal variable As Single) statement.
The wierd part is that it worked just fine yesterday, and I can't think of anything I've changed since then.
Any thoughts?
Solved! Go to Solution.
