08-16-2004, 12:14 AM
Just what you people think about how would ideal/perfect (x)basic look like. Here's my thoughts:
Code:
1) overloaded functions/subs
example:
declare sub printf(a%)
declare sub printf(a$)
declare sub printf(a#, f$)
2) multiline program lines(much like in c), but what would have same auto errir checking as in qb.
forexample: line (100,100)-(200,200),6,5 (would be just like in qb), but also could be written like:
line { (100, 100) -
(200, 200),
6,
5
}
3) possablity to include with '$include: 'stuff' functions/subs, declarations. Whatever. Right in the top of the file. Instead of those modules what are in qb now. It'd make a hell a lot easier to write one program by meny people. Or use same code in meny programs.
4) inline asm
5) Proper database support(mysql, xml) would be superb. Pascal, C/C++ have it
6) 32 bit protected mode code generation (16 bit optionally too)
7) Rhide style IDE
8) TYPE, constant declarations inside functions.
9) possability to use C/C++ libraries and headers
10) pointers.
well some more, but this is main for me. Post your ideas too. Who knows maybe one day they'll come true :wink: