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.
Renaming of a few Functions
-
- Enthusiast
- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
-
- Enthusiast
- Posts: 499
- Joined: Wed Sep 17, 2003 9:17 pm
- Location: Southern California
- Contact:
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?
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?

hehe, actually, it is something around 1100 or something, if you count the
old forums as well
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
)
old forums as well

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

quidquid Latine dictum sit altum videtur
Ummm.. you do!!!!!freak wrote:
But hey, who cares about the rank??
Timo
(i would like to become "Expert" like Karbon though)



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