Some functions

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
markus
New User
New User
Posts: 5
Joined: Tue Oct 21, 2003 7:18 am

Some functions

Post 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
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Re: Some functions

Post 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
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post 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!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
markus
New User
New User
Posts: 5
Joined: Tue Oct 21, 2003 7:18 am

Post 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
Max.
Enthusiast
Enthusiast
Posts: 225
Joined: Fri Apr 25, 2003 8:39 pm

Post 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.
markus
New User
New User
Posts: 5
Joined: Tue Oct 21, 2003 7:18 am

Post 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
Post Reply