Function not functioning ?!

Muaadh Salih Ms1 at soas.ac.uk
Thu Jul 14 20:24:52 EDT 2005


Many thanks for the generous help from the list. We intend to migrate from hypercard to Rev. and port All our Language learning material to rev.
However I found the following simple funtion returns an unexpected result in Rev..

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

calling the funtion ,say, 
answer plural (4, "car")
returns 4s ( i.e. textw  is empty) in
revolution
while  it works perfectly in HC ie, (4, cars)

did I miss anything ?
p.s I am using ver 2.6 on Xp 
much appriciated your help
-----------------------
Muaash Salih
University of London 
SOAS

email ms1 at soas.ac.uk




More information about the use-livecode mailing list