Message box
Alain Bois
in.bois at wanadoo.fr
Tue Mar 30 06:43:10 EST 2004
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
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list