Renaming of a few Functions

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

Soon there will be macro-support in PB, so you can Replace the Wend with whatever you'd like. At least I think the pre-compiler could do such things.

Wend on the other hand is Standard BASIC, and though someone will come for and say that PB doesn't follow the BASIC Standard (if there's one) at all, here at least it does, so we should keep that one.
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

The naming of Wend/EndWhile/WEnd isn't a real problem as they are only a matter of taste... If it's not consistant, then it's annoying... The true problems (as I see it) lie in completely misleading function names...

WindowID() and EventWindowID() both imply that they return an ID(hWnd) when this isn't the case...
EventWindowID() and EventGadgetID()
should be changed to:
EventWindow() and EventGadget()
since EVERY other xxxID() command returns a handle...
-just mai 2 cents :)

Fred? :?
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

@PolyVector: I agree.

Timo
quidquid Latine dictum sit altum videtur
LarsG
Enthusiast
Enthusiast
Posts: 713
Joined: Mon Jun 02, 2003 1:06 pm
Location: Norway
Contact:

Post by LarsG »

wow.. congrats on the 500 posts, fr34k! ;) :idea: :D

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

hehe, actually, it is something around 1100 or something, if you count the
old forums as well 8)
And including all my bug reports, that fred deletes when they are fixed, i would guess something around 1150.

But hey, who cares about the rank??

Timo

(i would like to become "Expert" like Karbon though :P )
quidquid Latine dictum sit altum videtur
LarsG
Enthusiast
Enthusiast
Posts: 713
Joined: Mon Jun 02, 2003 1:06 pm
Location: Norway
Contact:

Post by LarsG »

freak wrote:
But hey, who cares about the rank??

Timo

(i would like to become "Expert" like Karbon though :P )
Ummm.. you do!!!!! :twisted: :twisted: :wink:

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
Post Reply