booteable purebasic console apps?

Everything else that doesn't fall into one of the other PB categories.
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

booteable purebasic console apps?

Post by dagcrack »

can I create booteable console apps in purebasic or I should go to moonrock instead? and how would I do the boot part? with an autoexec bat or something?
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

you mean a dos app?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: booteable purebasic console apps?

Post by PB »

> can I create booteable console apps in purebasic?

No. All PureBasic apps are Win32-based and can't be called from DOS.
If you try, you'll just get this familiar error message at the DOS prompt:
This program cannot be run in DOS mode.

> should I go to moonrock instead?

That's one nice freeware Basic alternative that works, yes. Don't expect it
to be anywhere as good as PureBasic though, but it can do a lot of things.

> how would I do the boot part? with an autoexec bat or something?

Yep, just call the MoonRock *.com file from AutoExec.bat and it'll run. I've
done this in the past with no problems -- that's why it's in the FAQ. ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

If you want something more up to date go for FreeBASIC - there is also a 32 bit DOS version.
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

I'll check FreeBASIC thanks!
Post Reply