[Newbies] concatenation of non-Collections

Ramon Leon ramon.leon at allresnet.com
Sun Nov 2 20:49:06 UTC 2008


> 
> Wouldn't it be convenient if you could do this:
> 
> 	msg := 'The number is ', number

msg := 'The number is {1} or else is {2}' format: { number. number2 }

Behaves this way and looks much better when you have multiple args.

Ramon Leon
http://onsmaltalk.com



More information about the Beginners mailing list