From 3a0c8ea5218de09b2042052eca9a5e4d7922044c Mon Sep 17 00:00:00 2001 From: Luke Ceddia Date: Thu, 11 Aug 2016 21:41:40 +1000 Subject: [PATCH] Stop ide() throwing a silent IFC on startup --- source/ide/ide_methods.bas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index ffefb69e1..f7325a0c9 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -1,8 +1,8 @@ FUNCTION ide (ignore) 'Note: ide is a function which optimizes the interaction between the IDE and compiler (ide2) ' by avoiding unnecessary bloat associated with entering the main IDE function 'ide2' - - IF ASC(idecommand$) = 3 THEN 'request next line (compiler->ide) + IF idecommand$ <> "" THEN cmd = ASC(idecommand$) + IF cmd = 3 THEN 'request next line (compiler->ide) IF idecompiledline < iden THEN IF idecompiledline < idesy OR idecompiledline > idesy + (idewy - 9) THEN 'off screen? IF _EXIT AND 1 THEN ideexit = 1