Page 1 of 1

Some functions

Posted: Tue Oct 21, 2003 7:28 am
by markus
Hello PureBasic-Team,

I would like to suggest some improvements on PureBasic:

Compiler:
- compiler macros like C/C++
- in-build support of Try-Catch-Finally error handling
- one-statement, multi-line support (like _ for line breaking in vb6)

PureBasic:
- easier support of classes with public/private/friend members like vb6
- support of non global array
- support for array procedure parameters
- byref/byval parameters of procedures
- easier support for events (like vb6)
- support for user written gadgets (like ActiveX controls in vb6)
- a redim function to resize array more easily

Editor:
- Intellisense
- Syntax highlighting for user written procedures

THX
Markus

Re: Some functions

Posted: Tue Oct 21, 2003 4:08 pm
by freedimension
- compiler macros like C/C++
I think this one is already on the ToDo-List

- in-build support of Try-Catch-Finally error handling
There is a UserLib somewhere that implements just this

- one-statement, multi-line support (like _ for line breaking in vb6)
Second this one

- easier support of classes with public/private/friend members like vb6
- support of non global array
Yeah

- support for array procedure parameters
- byref/byval parameters of procedures
Hey, you have pointers, don't you? Then use them ;-)

- easier support for events (like vb6)
Why don't you code in vb6 if you think it's easier?

- support for user written gadgets (like ActiveX controls in vb6)
Is implemented since 3.8, but little examples

- a redim function to resize array more easily
Dim is just this

- Intellisense
- Syntax highlighting for user written procedures
try jaPBe by GPI

Posted: Tue Oct 21, 2003 5:16 pm
by Karbon
I think fsw wrote a userlib to handle events sort of like VB6 - it's pretty cool if you like coding that way!

Posted: Wed Oct 22, 2003 7:31 am
by markus
@Karbon
Thanks. I will look for it.

@freedimension
- Is there a public ToDo-List for next version of PB? I didn't find one yet.
- Of cause I can use pointers, but parameters woul be easier and - hey we use a BASIC language
- regarding VB6: large runtime, no linux support otherwise I would use it
- is there any example for user written gadgets? where?
- I will try jaPBe

Thanks
Markus

Posted: Wed Oct 22, 2003 7:49 am
by Max.
markus wrote: - is there any example for user written gadgets? where?
Have a look here (sorry, in german):

http://www.robsite.de/php/pureboard/vie ... php?t=2581

The later posts are the interesting, especially those by Danilo. BTW, Danilo used a fixed version of the PB compiler that will e released somewhen. Else you'll get a crash due to the "OOP inside procedures" bug or so.

Posted: Wed Oct 22, 2003 9:52 am
by markus
Nice example. But I don't want to use ActiveX's but gadgets beacause of cross-platform (linux) capabilities. So I need user defined gadgets and not ActiiveX's