In the various books on Squeak and Smalltalk that I've read, they use a vertical stroke to delineate variables. where is this on my keyboard? Is it a character that changes in Squeak when you type it like the underscore?
Shelagh (who has decided that even if my son does not want to use squeak I do )
Hi Shelagh --
At 1:53 PM +1100 3/26/04, Shelagh Manton wrote:
In the various books on Squeak and Smalltalk that I've read, they use a vertical stroke to delineate variables. where is this on my keyboard?
It's usually on the right hand side above the return key. It should show on the keyboard of any PC or Mac.
Is it a character that changes in Squeak when you type it like the underscore?
No. It's a regular character.
I can tell by your question that you are not looking at the Squeak Etoys, which is what the Squeakland site and this mailing list is about. If you haven't done much or any programming before, you might find a really great start by doing the etoys stuff. Get the book "Powerful ideas in the classroom" or look at the tutorials on the site and try the examples.
If you have had some experience programming and want to learn the full blown Squeak, then the site is Squeak.org, and there are many books available about how to program both in Smalltalk in general, and in Squeak in particular.
Cheers,
Alan
Shelagh (who has decided that even if my son does not want to use squeak I do )
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ _______________________________________________ Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
--
You guessed correct, Shelagh; it is in fact the underscore keystroke. Another operator for this requires combining a colon and equal sign, like so...
:=
Usage looks like...
| myBook | myBook := BookMorph new. myBook openInWorld.
It adds one keystroke to the operation, but may be more intelligable to non-squeakers.
Best,
John
On Fri, 26 Mar 2004, Shelagh Manton wrote:
In the various books on Squeak and Smalltalk that I've read, they use a vertical stroke to delineate variables. where is this on my keyboard? Is it a character that changes in Squeak when you type it like the underscore?
Shelagh (who has decided that even if my son does not want to use squeak I do )
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ _______________________________________________ Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
Actually, Shelagh was refering to the vertical bar "|" character. Its position depends on your keyboard layout. For example, on a German keyboard it is accessed by pressing "option" (on a PC that's "AltGr") together with "<".
- Bert -
Am 26.03.2004 um 14:19 schrieb John Voiklis:
You guessed correct, Shelagh; it is in fact the underscore keystroke. Another operator for this requires combining a colon and equal sign, like so...
:=
Usage looks like...
| myBook | myBook := BookMorph new. myBook openInWorld.
It adds one keystroke to the operation, but may be more intelligable to non-squeakers.
Best,
John
On Fri, 26 Mar 2004, Shelagh Manton wrote:
In the various books on Squeak and Smalltalk that I've read, they use a vertical stroke to delineate variables. where is this on my keyboard? Is it a character that changes in Squeak when you type it like the underscore?
Shelagh (who has decided that even if my son does not want to use squeak I do )
I should read more carefully before assuming I know what someone is asking about; sorry, Shelagh and everyone, for sewing confusion.
On Fri, 26 Mar 2004, Bert Freudenberg wrote:
Actually, Shelagh was refering to the vertical bar "|" character. Its position depends on your keyboard layout. For example, on a German keyboard it is accessed by pressing "option" (on a PC that's "AltGr") together with "<".
- Bert -
Am 26.03.2004 um 14:19 schrieb John Voiklis:
You guessed correct, Shelagh; it is in fact the underscore keystroke. Another operator for this requires combining a colon and equal sign, like so...
:=
Usage looks like...
| myBook | myBook := BookMorph new. myBook openInWorld.
It adds one keystroke to the operation, but may be more intelligable to non-squeakers.
Best,
John
On Fri, 26 Mar 2004, Shelagh Manton wrote:
In the various books on Squeak and Smalltalk that I've read, they use a vertical stroke to delineate variables. where is this on my keyboard? Is it a character that changes in Squeak when you type it like the underscore?
Shelagh (who has decided that even if my son does not want to use squeak I do )
Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
squeakland@lists.squeakfoundation.org