Page 2 of 2

Posted: Tue Jun 14, 2005 3:38 pm
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?

Posted: Thu Dec 22, 2005 5:42 pm
by blueznl
then use a dutch keyboard, it has it all :-)

Posted: Fri Dec 23, 2005 2:25 am
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

Posted: Fri Dec 23, 2005 6:19 am
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

Posted: Fri Dec 23, 2005 8:25 am
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

Posted: Sat Dec 24, 2005 3:36 am
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...

Posted: Sat Dec 24, 2005 6:12 am
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]

:)

Posted: Sat Dec 24, 2005 8:21 am
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?