BlitzScript3D

Blitz3D Forums/Blitz3D Programming/BlitzScript3D

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

My implimentation supports nested "If" statements since the "If" code calls ParseStatement() for each line between "If" and "Else", "Else" and "EndIf". And since ParseStatement() handles "If"s, nested "If" statements are automatically handled (just as long as the label names don't clash - and they don't due to the GSC_UniqueLabel() function). What my previous post stated was that that line simply helps avoid confusion about "Else If", since I haven't implimented "ElseIf" behavour.

The idea about checking the timestamp isn't new, I don't think, since that's the way I thought most compilers worked (most C compilers only recompile source files that have been modified).