n00b question about the PLAY "" function

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
WotL
n00b question about the PLAY "" function

Post by WotL » Tue Jun 14, 2005 11:47 pm

First off: I'm a n00b in programming.. I have some Pascal experience but not much.

In Qbasic I once created a simple program to tune my guitar with the single following line of code:

Code: Select all

PLAY "l1o0t128eao1dgbo2e"
Within Qbasic this runs fine, but after compiling this to .exe with the compiler I downloaded from this site (the recommended v4.5) I get the following statement:
quoted from dosbox
Input run-time module path:
any ideas how to make this work as an .exe?[/code]

Dr_Davenstein
QBasic God
Posts:166
Joined:Tue Mar 25, 2003 12:45 am
Location:U.S.A.
Contact:

Post by Dr_Davenstein » Thu Jun 16, 2005 2:17 am

There are two options when you create an exectuable. Choose the one that says:

Create Stand Alone EXE


That should do it. ;)
Come check out [url=http://www.freebasic.net/forum/index.php]FreeBASIC[/url]. The syntax is based on QuickBasic, but it expands to use pointers, operator overloading, etc... The list goes on and on!

WotL

Post by WotL » Thu Jun 16, 2005 3:01 pm

Hmm I really thought I had done that... 3 times..

Obviously I didn't.. :?


Well, this time it worked.. thanks anyway.

Post Reply