funtions on windows

Pat Trendler ptrendler at bigpond.com
Fri Jul 15 07:25:20 CDT 2005


I've just tried you script on Win XP Pro Rev 2.6. It returns the correct 
answer.
Plural (3, "Book") returns: 3 Books.
Plural (0, "Book") returns: no Books.
Plural (1, "Book") returns: 1 Book

Doesn't seem like a bug in Win XP

Pat
patrend at bigpond.com


>
> 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
> -------------------
>   works perfectly on Rev 2.6 on Mac G4 with OSX 10.3.9. However it does 
> not work on Rev. 2.6 on Windows XP ( when called : Plural ( 3, "Book") it 
> returns  ( 3 s) only
> again is this a bug on the XP version ?!
>
> any idea ?
>
>
> Muaadh Salih
> ms1 at soas.ac.uk
> -- 
>
>
>
> All the best
>
>
>
> Muaadh Salih
> SOAS
> Department of Near & Middle Eastern Studies
> Tel . +44 (0)2078984354
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.8.15/49 - Release Date: 14/07/2005
>
> 




More information about the use-livecode mailing list