Enigma: how to quote zero

Richard Gaskin ambassador at fourthworld.com
Fri Feb 11 21:44:40 EST 2005


James Steiner wrote:
>>>>   put format("put \"0\" before xyz") into line 8
> 
> 
> Wouldn't 
> 
>     put ( "put " & quote & "0" & quote & " before xyz" ) into line 8
> 
> also work, without having to resort to using a fancy function like format??

Or my favorite fancy function, q:

   function q s
      return quote & s & quote
   end q


   put q(0) before yz


-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com


More information about the use-livecode mailing list