A Blitz-like way to write commands

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

Polo wrote:I haven't said change, i said add another way to do it.
Imagine what happened if this was possible.
Good programmers don't comment their code. It was hard to write, should be hard to read.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

I don't see the point to be 'Blitz compatible'. If you want to use Blitz, use Blitz. About the braketless function, i just find this syntax inconsistent and it will not be changed. Why there is 2 ways to do exactly the same thing ? Also it will interfer with variables.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

I don't want purebasic to be blitz compatible, just more similar ;)
Ok, if no one wants that then no point to add it...
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post by Bonne_den_kule »

If you want no brackets, buy blitzbasic! :x
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Re: A Blitz-like way to write commands

Post by Dare2 »

lol, Polo.

You must have done something bad in a previous life to cop all this flak.


@all:

Putting aside the merits and demerits of the request, it seemed like an innocuous enough wish to me. :)
Polo wrote:I know, there are some more important stuffs to do, but this thing would be cool
Anyhow, for everyone in a bad mood, for those who had a bad day at work; who dented the car; who spilt their coffee; who didn't get a leg over; who just like gang-bashing; anyone needing a victim so they can vent their spleen:

slag off at this post instead. :twisted:


HeHe.
@}--`--,-- A rose by any other name ..
Ralf
Enthusiast
Enthusiast
Posts: 203
Joined: Fri May 30, 2003 1:29 pm
Location: Germany

Post by Ralf »

Polo wrote:I don't want purebasic to be blitz compatible, just more similar ;)
Ok, if no one wants that then no point to add it...

just only rofl...
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

cool, rofl :lol:

@Fred:
i want pb compatible with C64 basic... what about something like numbers for each line like:

10 BackToRoots Are You Sure? Yes No 0 ; New art of Messagerequester...
20 If Are You Sure : Goto 30 : Else Goto 50
30 POKE 53280,0 : POKE 53281,0
40 END
50 SYS 64738 ;-)

i still think we can stop that kind of discussion ;)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Yes, i'm pretty certain we'll go nowhere with this and that this forum section is useless.
User avatar
utopiomania
Addict
Addict
Posts: 1655
Joined: Tue May 10, 2005 10:00 pm
Location: Norway

Post by utopiomania »

Polo, useless perhaps, but I'm used to be able to use brackets if I choose to do so, and am a bit surprised
about how your request for them turned out.

Maybe 'Feature request and wishlist' isn't a place to post your 'Feature request and wishlist's
after all. :roll:
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

Polo wrote:Yes, i'm pretty certain we'll go nowhere with this and that this forum section is useless.
Polo, please don't let yourself get discouraged by this.

This section is anything else than useless, it already
helped to improve PureBasic more than once.

Cheer up! :)
Good programmers don't comment their code. It was hard to write, should be hard to read.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Well, it's just my thought, as most of the request (not only mine) are rejected for workarounds or simply got forgotten... Then the Trick&Tips forum is enought.
zikitrake
Addict
Addict
Posts: 868
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

:lol: :lol: :lol: Without doubt, this is one of the suggestions with more answers in so little time.

Congratulations, Polo :wink:
PB 6.21 beta, PureVision User
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

@Polo
i agree with traumatic. if pb would be changed that way, i would probably stop using it. pb has imho a better syntax than blitz and i would never ever want to see that changed. you cant make feature requests to copy an other language, especially something like blitz... this is silly. if there is a need for copy, then blitz should copy pb. :wink:

c ya,
nco2k
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

HaH!
Perhaps there are an only thing i miss from BlitzBasic syntax in PB:
AddItem(), NextItem(), etc ... instead AddElement(), NextElement(), etc...
For sure it was a Fred's decision making a different compiler than Blitz one :wink: :P
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

It's jsut a matter of preference, but it would be good if we could have both like Blitz
NOOOOOOOOOO!!!!!! That makes things look so ugly!!! :x :x :x :x :x
--Kale

Image
Locked