On 15/07/2005, at 8:25 PM, Muaadh salih wrote:
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
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
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
Muaadh salih wrote:
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
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
[EMAIL PROTECTED]
function plural count, textw
if count 1 then