DefType -> Define
Macros easily solve this dilemma, so I think we can move on from this, eh? (Now I can rename some REALLY long PB function names like I've always wanted:
ElapsedMilliseconds()
becomes
Millisecs() and
DisplayTranslucideSprite(#Sprite, x, y, Intensity)
becomes
ShowTSprite(#Sprite, x, y, Intensity)
)
..and so on
Macros are great!
Russell
ElapsedMilliseconds()
becomes
Millisecs() and
DisplayTranslucideSprite(#Sprite, x, y, Intensity)
becomes
ShowTSprite(#Sprite, x, y, Intensity)
)
..and so on
Macros are great!
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
That's true! If you look at a Commodore 64 Basic program trying to access a random access file or even just displaying an image, you'll see what a giant pain in the $%# it was. With all that potential (for the time period anyway), the built-in language sure left a lot to be desired when it came to accessing the VIC-II and SID. Granted, with a total of 64k to work with (and only "38911 BASIC BYTES FREE"), I suppose they had to cut something!
Anyway, BASIC has changed quite a bit since then...Thank goodness!
Russell
Anyway, BASIC has changed quite a bit since then...Thank goodness!
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
- Psychophanta
- Always Here

- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
The great thing about Macros is that you CAN have all of those things. You can change Len to Length and so on.
What I'm wondering, is: Are the various versions of PB going to have the same command set at some point? There are quite a few Windows-only commands right now (understandable) that would be quite appreciated on Linux and Mac I imagine.
This is one of the (very) few areas where I prefer BlitzMax <dodges flying tomato>: Everything coming from the official source is available on all platforms. Ease of creating new libraries (modules) is the other one, but I digress.
Anyway, I'm having fun with PB4b right now and looking forward to the full release!
Russell
What I'm wondering, is: Are the various versions of PB going to have the same command set at some point? There are quite a few Windows-only commands right now (understandable) that would be quite appreciated on Linux and Mac I imagine.
This is one of the (very) few areas where I prefer BlitzMax <dodges flying tomato>: Everything coming from the official source is available on all platforms. Ease of creating new libraries (modules) is the other one, but I digress.
Anyway, I'm having fun with PB4b right now and looking forward to the full release!
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
- Psychophanta
- Always Here

- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
Code: Select all
Macro Apples
messagerequester
EndMacro
Macro Oranges
Apples
EndMacro
Oranges("That's Pretty", "Impressive!", #MB_ICONHAND)No offense, NoahPhense, but that example doesn't seem like too much of a handicap to me. Can you show us a real world example of where it would be advantageous to do such a thing?
Besides, if it is something that people would use, Fred or whoever could probably fix it fairly easily.
Russell
Besides, if it is something that people would use, Fred or whoever could probably fix it fairly easily.
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
No Offense taken..Amiga5k wrote:No offense, NoahPhense, but that example doesn't seem like too much of a handicap to me. Can you show us a real world example of where it would be advantageous to do such a thing?
Besides, if it is something that people would use, Fred or whoever could probably fix it fairly easily.
Russell
I was just being silly. I really wasn't making an example. Just being
silly, I'm allowed to do that several times a day. Some days more than
others.. =)
Anyhow. Probably one of the reasons that Fred created Macros, is because
of the amount of people that were looking for command name changes.
I'm sure if any given command became a big agreement within the
forums it would be changed. In fact, it has been done several times
before. Where someone started a thread about changing something,
and everyone gave their opinions and views. That's what usually decides
changes.
But if someone wanted DefType back they can just use a macro to bring
back. Right?
- np
- Psychophanta
- Always Here

- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Look at:Trond wrote:Like what?Psychophanta wrote:Macros don't allow to replace some commands names. That's the bad point.
viewtopic.php?t=19173


