funtions on windows

Eric Chatonet eric.chatonet at sosmartsoftware.com
Fri Jul 15 06:33:29 EDT 2005


Hi Muaadh,

No time to test on Win XP but just a thought: avoid unnecessary  
spaces in your formulations:
You write Plural ( 3, "Book"). Try Plural (3,"Book")

Le 15 juil. 05 à 12:23, Muaadh salih a écrit :

> My apology for the typos of yesterday message .
>  Still upon further investigation  we found that  the following  
> function:
> -----------------
>
> 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 ?!


Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list