Hi

I have a function 'randonTime' which accepts two parameters, the first
specifies whether a time should be in 5, 10 15 etc minute intervals,
the second specifies 12 or 24 hour clock and returns a valid time in
the form hh:mm.

With the function handler in the same script as the calling handler ( a button)

get randomTime(5,2)
put the result

works as expected.  -- 12:45  6:15  21:55 19:25 etc

However, when the function is placed in a group on the same card

send "get randomTime(5,2)" to group "analogClock"
put the result

only the minutes are return.  -- :45  :15  :55  :25

The second parameter is ignored so the fuinction doesn't create an hour.

Can anyone shed some light on this please?
I could keep the function and calling handler together but would
prefer to have all important scripts in one place.

Thanks.

--
Regards

Ian

=======================
Ian McKnight

[EMAIL PROTECTED]
=======================
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to