[Newbies] RE: array literal - a misunderstanding?

Thomas Fischer th.-fischer at web.de
Mon Mar 5 08:08:29 UTC 2007


Hi Ron & Mathieu & list

> Try this: {1. 2. 1 + 3.}

Ah, thanks a lot, but this provokes my next question:
How can I use floats like 3.14 in an array literal?

{3.14 2.}      "{3.14  Period or right brace expected ->2.}"

PS: Is there anywhere in the net a *COMPLETE AND COMPACT* list
of all "cryptical" syntax characteristics for smalltalk/squeak?

salute
Thomas
-- 
View this message in context: http://www.nabble.com/array-literal---a-misunderstanding--tf3344098.html#a9306975
Sent from the Squeak - Beginners mailing list archive at Nabble.com.



More information about the Beginners mailing list