Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
freebasic sleep?
#11
Quote:when i try to compile your code i get this error from qbasic

So shouldn't you be asking this question in the QBasic help group instead of the freeBASIC one?

Letting everyone know that qbasic gives an error doesn't really matter. There are going to be a lot of new keywords, etc, that will not work.

Now if freeBASIC gives you an error...
ature has its way of warning a person away from danger: The distinct black and white coloration on a skunk, the chilling buzz of a rattlesanke, a redneck handing you his beer and saying "Watch this!"
Reply
#12
IMHO, your code would trigger the compile error due to "End If" shared the same line as "GOTO xxx" and no statement separator(":") in between them. This has been fixed in Z!re suggested code. Have tried compile Z!re code in QB?
= inc(¢) Big Grin
Reply
#13
My code works just fine in QB7.1


It also fixes an error with:
go:

Apparently invalid to use as a label in QB.
Reply
#14
maybe its my 4.5 .... my bad
url=http://www.random-seed.net][Image: asylumsig.png][/url]
Reply
#15
No, it works in 45.

You just HAVE TO SPLIT goto go end if AS STATED THREE TIMES BEFORE THIS POST Wink

i.e. turn

Code:
goto go end if

to

Code:
goto go
end if
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#16
And change
go:

To:
Goo:



Apparently QB doesent like using GO as a label


All very easy to find, when QB highlights the erronomous line and tells you whats wrong with it. :roll:
Reply
#17
holy crap Z!re, i didnt even thnk of that, now it worx!!
url=http://www.random-seed.net][Image: asylumsig.png][/url]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)