EndWith keyword; what for?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

thefool wrote:
Joakim Christiansen wrote:You all must be crasy...
This is just sick...
no its not useless, but its useless calling anyone crazy.. especially when you spell it with an s :lol:
Well I don't care since i'm crazy too! :P
I don't know why but I think EndWith is sexy!
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Oh yeah it is :D
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

we cannot live without EndWith! it just makes sense! see for yourself:

Code: Select all

Wish
  BeRich(*me)
  MeetPrettyGirl(\blonde)
  HaveLotsOf(Censored(*me,*she,*her_ladyfriend))
EndWish
imagine there was no complementary command and things would just go on and on...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

hehe :D

nice example ;)
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

blueznl wrote:we cannot live without EndWith! it just makes sense! see for yourself:

Code: Select all

Wish
  BeRich(*me)
  MeetPrettyGirl(\blonde)
  HaveLotsOf(Censored(*me,*she,*her_ladyfriend))
EndWish
imagine there was no complementary command and things would just go on and on...
Yeah! but when your Wishes (Withes) reach a End that means you are dead! Because what is the meaning of anything if there are no Wishes (Withes) ?
:wink:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Image
well i got more important stuff than to be chit-chatting with you all the time!
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

hehe
@}--`--,-- A rose by any other name ..
Phoenix
Enthusiast
Enthusiast
Posts: 141
Joined: Sun Sep 04, 2005 2:25 am

Post by Phoenix »

Trond wrote:In fact, we don't need the enumeration keyword at all, since we can do #Constant = value and the next constant will get the next value!
Enumeration is for defining constants without the user having to specify a value, so it is actually needed.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

besides, i like EndWhatever, it sounds so.... definitive :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply