call( ) and (incorrect?) argument order

Thomas Boch boch at newb6.u-strasbg.fr
Wed May 7 07:18:27 PDT 2008


Hi,

As the signature of receiveCall is receiveCall(string sender-id, string
msg-id, map message) , it makes sense indeed for consistency to change
the signature of call to :
call(string recipient-id, string msg-id, map message)

as you are suggesting.

Thomas

Alasdair Allan wrote:
> 
> Just noticed that call( ) (see p19, section 3.10) is the odd method
> out, with a prototype of
> 
>    call(string rcepient-id, map message, string msg-id )
> 
> which is the other way round to all the other methods. Should this
> instead be,
> 
>    call(string rcepient-id,  string msg-id, map message)
> 
> like the rest? If not, is there a reason why its different?
> 
> Cheers,
> Al.



More information about the apps-samp mailing list