"&quote&"

Ken Ray kray at sonsothunder.com
Mon Dec 30 20:29:01 EST 2002


Doug,

I have used this function for years:

answer "She said, " & q("I do.")

function q what
  return quote & what & quote
end q

Might work for you; I agree it would be great to use quotes inside of
quotes, and actually in the regular expression world of matchText and
matchChunk you can include quotes in a string by escaping them with a
backslash, but until it gets built into the engine, this function (or one
like it) will have to do, IMHO.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Ivers, Doug E" <Doug_Ivers at lord.com>
To: <use-revolution at lists.runrev.com>
Sent: Monday, December 30, 2002 3:45 PM
Subject: RE: "&quote&"


> answer "She said, "&quote&"I do."&quote
>
> Seems like there should be a shorthand way of coding "&quote&".  I use it
frequently and it makes things difficult to read.  Javascript handles this
nicely by allowing the use of single quotes within double quotes.
>
>
> -- D
>
> P.S.  That was 18 years ago.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the Use-livecode mailing list