IonicWind Software

IWBasic => General Questions => Topic started by: LarryMc on June 19, 2012, 07:27:09 AM

Title: $REGION / $ENDREGION
Post by: LarryMc on June 19, 2012, 07:27:09 AM
I've used these directives in the past to hide blocks of code.
I tried to use then today and the use of them generates errors when I try to compile.
Anyone else using IWB2 having this problem?
Title: Re: $REGION / $ENDREGION
Post by: LarryMc on June 19, 2012, 08:09:12 AM
Figured out what was going on.
1st - I should have been using 'REGION / 'ENDREGION  which works.
After a little testing:
2nd - It appears that $REGION / $ENDREGION will compile only when used inside an $ASM / $ENDASM block.
  Note: It doesn't compile inside an $IFDEFINE / $ENDIF block either.
I'll update the appendix section covering directives in the help file