[Implemented] Rename structure ".character" to ".char"

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

[Implemented] Rename structure ".character" to ".char"

Post by Lebostein »

To be consistent, please rename structure ".character" to ".char" like

test_b.Byte (ReadByte(), WriteByte()....)
test_l.Long (ReadLong(), WriteLong()...)
test_c.Char (ReadChar(), WriteChar()...)

and not test_c.Character (ReadChar(), WriteChar()...)
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Agree.
Sure the current idea comes from types to be a complete word, but it would be better like Lebostein says, because "char" is in fact a real word in computer slang.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

.char
.double
.quad
.byte
.word
.float

we don't say doublefloat either :-)

so yes, i second, third, or fourth that...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

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

Post by Psychophanta »

floating_point
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Post by Lebostein »

no statements? :(
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Actually these 2 char() functions have been renamed to character().
Post Reply