[futurebasic] Re: Newbie question

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 1998 : Group Archive : Group : All Groups

From: tatewake@... (Terence Jordan)
Date: Sun, 29 Mar 1998 22:58:02 -0500
>        Hello all. I just purchased FutureBasic 1.03. I know it is
>outdated, but I don't have the money to upgrade yet. My problem is this: I
>am just running through the examples in the early part of the book,
>nothing fancy at all. I put the STOP statement at the end of the program.
>When it gets to the end, it doesn't stop at all, I don't have time to see
>what the output was. Am I forgetting a setting somewhere? Was there an
>incompatibility with OS 8 and FB 1.03? Any help would be appreciated.

Hmm, on second thought, you seem to be right; there's no stop action when
you run this in 2.3 either... except for the first time. That's strange.

I think, though, that using the Debugger and using TRON BREAK is a better
way to step through your programs...

This stops once, and then never stops again... (within the FB environment.)

COMPILE 0,_dimmedVarsOnly _caseInsensitive
'----Globals

END GLOBALS

'----Functions

LOCAL FN HelloWorld(x&)
  WINDOW #1,"Test",(0,0)-(320,200)
  PRINT "Hello World!"
  PRINT "Magic Number: ";x&
  PRINT "Click mouse to end."
END FN

'----Main
FN HelloWorld(5)

DO
  HANDLEEVENTS
UNTIL FN BUTTON
WINDOW CLOSE #1

STOP
REM rem
END



-- Terence Jordan (tatewake@...)
Inspired Software. http://inspired.netstreet.net/
Macintosh, Dos, Windows, and BeOS software solutions.
Phone: 407-728-7563
....................................
.MacSloMo: 6502 emulation,         .
.the first CPU Emu in FB!          .
.Source code is available!         .
.http://inspired.netstreet.net/POC/.
....................................