Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / QDev/DB_CommandSet2.0

Author
Message
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 10th Sep 2004 03:50
Hi, I'm making a program called QDev.

Basically, it starts off with a simple VB wrapper that allows you to edit text files (hopefully config files) and DarkBasic code.

It can also start the main DarkBasic program. You tell it where the DarkBasic compiler is and it'll start whatever file you wish.

Basically it's gonna be a hell of a lot of DB code.

For example:

If I were to make a program for QDev called FTP_Auto, that was a user-interface'd FTP program, i'd make two files and edit one file:

main.dba:
(Dunno yet. Still need to finish the code. Probably #include "ftp_auto.dba", and it would already have in it #include "db_extra.dba")

FTP_auto.dba:

(FTP_auto code here)

FTP_auto_test.dba:

#include "db_extra.dba"
#include "ftp_auto.dba"

(Filler code)

FTP_Auto()

end

db_extra.dba would contain a few functions for use in all programs. So far it has:

Sink()
FreeImgNum()

FreeImgNum is pretty self-explanatory, and in a QDev program, Sink() should *ALWAYS* be used instead of sync.

That way, if you want to make something that 'traps' the image being sent to the screen by *ANY* program, you just have to change the code for Sink()...

(Note: Currently Sink() just contains the code:

Function Sink()
sync
Endfunction

But soon it'll hopefully contain more)

When it's finished, it'll have a kinda in-DarkBasic cute Integrated Development Environment that can edit DarkBasic code and contains a range of tools, as well as a Start menu that can start any module.

I'll probably have a tiny VB application this and there to help stuff, like if you can't run more than one copy of DB at once and you've chosen to start another module...

-------------------------------------------------

Command Set 2.0

Inside of db_extra.dba, I want to have everything that will be needed. Also I want to be inside many functions named like the ones in DB v1.13, only with 100% bug-free / extra functionality...

The IDE could contain a pre-interpreter that added all the () at the end of all the functions and everything, but that comes later...

------------------------------------------

What I need for now, is for you to tell me if it's worth it. Soon I hope to have finished the VB QDev wrapper and have it for download, as well as a first pre-alpha edition of the QDev code... THEN PLZ PLZ PLZ could you donate code to files, or new code files?

I hope to set up a site (maybe on SourceForge) where ppl can submit code that will get put into the main download...

Also, if I put any code ANYWHERE, tell me *ANY* bugs in it or anything that can be optimized, and basically stuff.

Hoping DESPERATELY to have finished the code soon,

BLANKY

[img src=http://blanky.pt-web.net/ddd.gif] >::p
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 10th Sep 2004 18:33
If that QDev wrapper will ultimatly be distributed to just DBC users, who already have DBC installed, then I can't see anything wrong with it.
However, if you will be distributing the compiler exe for DBC with the wrapper, then you are in breach of the EULA contract.

TBH, I don't see the point in changing the basic syntax ( replacing "sync" with "sink" ) and creating what appears to be another IDE, when there are plenty of other programs out there that can do this already.

Also, I'm not too sure what the command set will be...

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 11th Sep 2004 01:54
Nah - basically what I want it to be, is a program which ANYONE can put code into. That's basically it.

They can make their own IDEs, their own programs to run on any normal DarkBASIC as well as compatibility with my IDE - whatever.

You wouldn't have to use Sink() - you could use anything, or make your own!! That's the point. db_extra.dba would contain every basically universal extra function.

The first version of QDev will just have the VB-QDev wrapper, db_extra.dba with a couple of functions, maybe FTP_auto.dba as an example, and main.dba. Anything can be added easily (which is the point!)

Dunno. Still working out details.

[img src=http://blanky.pt-web.net/ddd.gif] >::p
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 11th Sep 2004 03:21
Okay, I've given up on the VB wrapper - now it's gonna be JUST DarkBASIC code.

I hope to have window making code and stuff soon...

[img src=http://blanky.pt-web.net/ddd.gif] >::p

Login to post a reply

Server time is: 2025-05-24 22:09:38
Your offset time is: 2025-05-24 22:09:38