Function not functioning ?!

Brian Yennie briany at qldlearning.com
Thu Jul 14 20:32:41 EDT 2005


>  Funtion plural count,textw
> if count <>1 then put "s" after textw
> if count =0 then put "no" into count
> return count && tetxw

Is this your actual code? It has several typos, including "tetxw" which 
should be "textw" in the last line.

function plural count,textw
     if count <>1 then put "s" after textw
     if count =0 then put "no" into count
     return count && textw
end plural

Should work fine in Rev with some proofreading.

- Brian




More information about the use-livecode mailing list