Re: variable replacement in string [message #178032 is a reply to message #178029] |
Thu, 10 May 2012 22:31 |
Scott Johnson
Messages: 196 Registered: January 2012
Karma:
|
Senior Member |
|
|
On 5/10/2012 2:06 PM, Jerry Stuckle wrote:
> On 5/10/2012 4:50 PM, The Natural Philosopher wrote:
>> M. Strobel wrote:
>>> Am 10.05.2012 15:11, schrieb The Natural Philosopher:
>>>
>>>> if you want to program in tcl., i suggest you use tcl.
>>>>
>>>> your example
>>>> $t = ' - solved - ';
>>>> $msg = 'The problem is $t';
>>>>
>>>> should be
>>>> $t = ' - solved - ';
>>>> $msg = 'The problem is'.$t;
>>>> echo($msg);
>>>
>>> You cannot miss something you do not know it exists.
>>>
>>
>> Of course you can. Don't be silly.
>>
>> I've missed loads of things that I didnt know about.
>>
>> Like the flight to Chicago. I've missed every single flight to chicago,
>> ever. Most before I even knew there was one. :-)
>>
>>
>>
>>> /Str.
>>>
>>
>>
>
> Which makes the people of Chicago VERY HAPPY!
>
Time to get the microwave popcorn ready!
|
|
|