Forever ForEver...
-
DarkDragon
- Addict

- Posts: 2348
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Forever ForEver...
Hi, everybody!
In the german forums we've just found out, that ForEver is wrong because Forever is one word. It could misslead to a for-loop when a newbie is reading it. Maybe we should change this.
Here is the original topic:
http://www.purebasic.fr/german/viewtopi ... 843#234843
Or maybe the PureBasic Team could tell us why they've chosen "ForEver".
Regards,
Daniel
In the german forums we've just found out, that ForEver is wrong because Forever is one word. It could misslead to a for-loop when a newbie is reading it. Maybe we should change this.
Here is the original topic:
http://www.purebasic.fr/german/viewtopi ... 843#234843
Or maybe the PureBasic Team could tell us why they've chosen "ForEver".
Regards,
Daniel
bye,
Daniel
Daniel
-
DarkDragon
- Addict

- Posts: 2348
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Nah, let's stay in pure PureBasic style (mind the caps
) and change the syntax a little. (Actually, I like Do..Loop best
)
( 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... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

-
DarkDragon
- Addict

- Posts: 2348
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
No, Forever is one word, End Enumeration are 2 words.ts-soft wrote:change only for all pb word, soisCode: Select all
EndEnumerationCode: Select all
Endenumeration
bye,
Daniel
Daniel
the word stems are for and ever!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

- Michael Vogel
- Addict

- Posts: 2867
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Maybe Do ... Loop is no option, but it would be cool (less chars to hack and no Up-/Lowcase discussionsDarkDragon wrote:This is no option. We will keep the word "Forever"dobro wrote:i prefer Do...............Loop !!. We just discuss about the u/lcase of each letter.
Yes you are right with Until, but some people like to use Break instead of Until.
But I would see also other additions, a simple Exit If a>b seems to be easier than If a>b : BreaK : Endif
Michael
- Kaeru Gaman
- Addict

- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
BreakIf would be more consistent, but then we'd need ContinueIf as well, and things would get messy... I think what we need is a universal one-line if-construct, so I'll re-propose my idea for it: let's have Test, True and False -keywords, so that we can have nice one-line constructs like this:Michael Vogel wrote:But I would see also other additions, a simple Exit If a>b seems to be easier than If a>b : BreaK : Endif
Test Variable=1 True Variable-1 False Variable=1
Test ResultFromSomeProcedure() False ResultWasTrue=#False
Test BreakFlag True Break
The same with If/Else/EndIfs would take quite a few lines more... (Or you could use colons, but then it wouldn't be so sexy!)
*Edit* Maybe I'll just post it in feature requests...
Re: Forever ForEver...
The correct English word is "Forever" with a lowercase E.
It's currently wrong but it's never bothered me so far.
It's currently wrong but it's never bothered me so far.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
> The correct English word is "Forever" with a lowercase E.
yes, but the camel case word is ForEver
yes, but the camel case word is ForEver
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.




