|The stupid question is the question not asked|
Re: Interpolating Nursery Rhymeby stephen (Priest)
|on Apr 25, 2002 at 16:25 UTC||Need Help??|
Hmm... you don't use quotes with numbers. '5' and "5" are the same thing-- a string containing the character '5'. If it's in quotes of any sort, it's a string.
One uses single quotes for strings of literal text. So:
prints "Bar is $bar".
One uses double quotes for strings that should have variables interpolated. So:
prints "Bar is 3".
So maybe this rhyme can help: