I obtain 8 if I type put somme(3,5). There is a bug in msg box, if I type put somme (3,5) with a blank, Rev give me 3.
I have never seen in doc that it is necessary to put the name of function and the parameters between brackets without blank.
Alain Bois


Le 30 mars 04, � 00:15, Dar Scott a �crit :


On Monday, March 29, 2004, at 01:31 PM, Alain Bois wrote:


When I used Hypercard, if I have this handler
function somme a,b
return a + b
end somme
and I wrote in msg box put somme (3,5) I obtain 8.
With Rev I obtain 3. the first argument only, why? Bug or option with msg box ?

I get 8. (I put the function in a stack script and started using it.)


In Revolution 3+empty is 3. Maybe there is something strange about the second parameter. :-) Could you have misspelled "b"? :-)

(I get mixed up about where commas can go in parameter declarations, but this seems to work fine as you typed it.)

Dar Scott

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to