++ String

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Piero
Addict
Addict
Posts: 923
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

++ String

Post by Piero »

Code: Select all

Debug "a" ++ "b" ; "a b"
BTW:

Code: Select all

EnableExplicit

Macro p
+" "+
EndMacro

Define a
Debug ""+a p 1 p"2" ; "0 1 2"
User avatar
MikeHart
User
User
Posts: 17
Joined: Sat Sep 02, 2017 7:29 pm
Location: Germany

Re: ++ String

Post by MikeHart »

So your feature would add a space character automatically? That would be limiting its usage big time.
User avatar
idle
Always Here
Always Here
Posts: 5896
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: ++ String

Post by idle »

it would make sense if it was something like +',' or +' ' or +':'
so you'd get a string a,b,c or a b c or a:b:c
User avatar
idle
Always Here
Always Here
Posts: 5896
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: ++ String

Post by idle »

idle wrote: Sun Feb 09, 2025 8:49 am it would make sense if it was something like +',' or +' ' or +':'
so you'd get a string a,b,c or a b c or a:b:c
Is there a big read B in that or just my browser?
User avatar
Caronte3D
Addict
Addict
Posts: 1361
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: ++ String

Post by Caronte3D »

idle wrote: Sun Feb 09, 2025 8:50 am Is there a big read B in that or just my browser?
I see it too!
User avatar
idle
Always Here
Always Here
Posts: 5896
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: ++ String

Post by idle »

Caronte3D wrote: Sun Feb 09, 2025 9:53 am
idle wrote: Sun Feb 09, 2025 8:50 am Is there a big read B in that or just my browser?
I see it too!
Really weird it's literally a:b:c and if it doesn't do it again I have no idea what caused it 😅
User avatar
Piero
Addict
Addict
Posts: 923
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: ++ String

Post by Piero »

It's a Smilie! :b: :b:
:lol:
User avatar
idle
Always Here
Always Here
Posts: 5896
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: ++ String

Post by idle »

Piero wrote: Sun Feb 09, 2025 11:09 am It's a Smilie! :b: :b:
:lol:
:ok: got it :lol:
Post Reply