It works differenty if you are in Strict mode. In non strict compiling there is no local scope only function scope which I assume is what is causing your error.
Duplicate identifier question
BlitzMax Forums/BlitzMax Beginners Area/Duplicate identifier questionThe Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.