[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: script problems...
Hi Adrian,
> have got the dawndusk module bit i cant get the scripts to
> work for it, what i am doing wrong? I had some of tonyt's
> code which i modified (as change the tonyt_dawn... to
> johnb_dawn...) as my dawndusk module is set with johnb. I
> stripped the code so i could see what if any sub was being
> hit (the heartbeat should be as you get one every 5 min) but
> none of the global variables are being set suggesting this
> script isnt being looked at. In the monitor, the heartbeat
> comes through as "johnb-dawndusk.dawndusk", the script below
> is located in JOHNB_DAWNDUSK_DAWNDUSK.xpl, what am i missing
<snip>
> Sub johnb_dawndusk_dawndusk_Heartbeat(xPLMessage)
>
> ' this comes from a heartbeat message
> sys.setting("test3")="hit"
>
> End Sub
Instead of using sys.setting, use sys.value.
So:
sys.value("test3")="hit"
You should only use sys.setting to access the special variables Mode and
Period.
For any other global variables, just use sys.value(global_name).
HTH - let us know if that fixes the problem.
Regards,
John
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|