When an erroneous code line is spread over a multiple lines block by using the _ line continuation character, the error message refers only to the last line of the block.
See example in forum at post: http://www.freebasic.net/forum/viewtopic.php?p=192076#p192076