[Newbies] String question

obrienj obrienj at protonmail.com
Thu Dec 29 04:57:54 UTC 2016


I'm not trying to join anything. I want to put Transcript show: 'abc'. (including the period) into string x.

A simpler example: x := 'abc.'. puts abc. into x, so why doesn't x := ''abc'.' put 'abc.' into x (the single quotes are part of the string)?





-------- Original Message --------








-------- Original Message --------
Subject: Re: [Newbies] String question
Local Time: December 28, 2016 3:49 PM
UTC Time: December 28, 2016 11:49 PM
From: joseph.alotta at gmail.com
To: beginners at lists.squeakfoundation.org

I think you are using the period as a join operator. The join operator is a comma.




> On Dec 28, 2016, at 4:26 PM, obrienj [via Smalltalk] <[[hidden email]](/user/SendEmail.jtp?type=node&node=4928337&i=0)> wrote:
>
> Why does the x := 'Transcript show: 'abc'.'. yield x := 'Transcript show: 'abc Nothing more expected ->'.'. ?
>
>
>
>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://forum.world.st/String-question-tp4928334.html
> To start a new topic under Squeak - Beginners, email [[hidden email]](/user/SendEmail.jtp?type=node&node=4928337&i=1)
> To unsubscribe from Squeak - Beginners, click here.
> NAML


------
View this message in context:[Re: String question](http://forum.world.st/String-question-tp4928334p4928337.html)
Sent from the [Squeak - Beginners mailing list archive](http://forum.world.st/Squeak-Beginners-f107673.html) at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20161228/64fc94cb/attachment.html>


More information about the Beginners mailing list