A WITH command...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?

Want this?

Yes
22
85%
No
4
15%
 
Total votes: 26

User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

On my norwegian keyboard i just press the \ button, it's easy for me :D
And I agree with this:
\ is already used in PB for structures, so why introduce anothe way to do the same?
I like logic, hence I dislike humans but love computers.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

then use a dutch keyboard, it has it all :-)
( 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... )
Intrigued
Enthusiast
Enthusiast
Posts: 501
Joined: Thu Jun 02, 2005 3:55 am
Location: U.S.A.

Post by Intrigued »

I wonder how many folks will type keys that are close to the "\" key instead.

I have long fingers and I still fumble for that "\" key at times. Folks with shorter fingers may not fare as well.

FWIW
Intrigued - Registered PureBasic, lifetime updates user
Amiga5k
Enthusiast
Enthusiast
Posts: 329
Joined: Fri Apr 25, 2003 8:57 pm

Post by Amiga5k »

Well, the key we end up using is trivial so long as it is added to PB. It should be a key that all of us can use easily. One that is preferably not already being used for something else!

_ (underscore) or ~ (tilde) or { or } or ` (single apostrophe) or if those are not acceptable, maybe a modification of one we already use:

## or %% or :: or something similar.

Some languages have a PATH variable that is used in this way (although it's usually used in long file paths: PATH = "c:/programs/pb/examples/test" etc. and then every reference to a file is added to that string until PATH = "" is encountered to reset back to default (current directory).

Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

don't recall but i'm pretty sure fred said something about macros, if they are in, you'd be able to replace \ with what you like

and if you don't like it, you could still write a little preprocessor that would change the \ symbol into something else before compiled, the new ide allows things like 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... )
okasvi
Enthusiast
Enthusiast
Posts: 150
Joined: Wed Apr 27, 2005 9:41 pm
Location: Finland

Post by okasvi »

with finnish keyboard i need to hit altGR+? but it is fine by me... i dont want the syntax to get changed just like that because less than 20ppl here at forums does request for it...


edit: next thing you are asking is -> because its also used on other languages etc. PureBasic is PureBasic and i guess Fred didnt even think when creating the syntax to copy other languages...
Intrigued
Enthusiast
Enthusiast
Posts: 501
Joined: Thu Jun 02, 2005 3:55 am
Location: U.S.A.

Post by Intrigued »

[Poor Humor Moment Begins]

We really may have to (cough, chuckle) look into a big green button that USB connects to our computers. We can just use our nose to activate such. Really, the more I think about this I believe it will work great! I can lap up my dinner and at the same time get with it!

[/Poor Humor Moment Ends]

:)
Intrigued - Registered PureBasic, lifetime updates user
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

totally off topic and thread stealing but...

re poor (let's not talk about humour :-)) does anyone know how difficult it is to use electronics and hook stuff up to the usb? like custom keyboards or similar stuff?
( 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... )
Post Reply