[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Re: Weather, and a new xAPplication coming on
--------------090405010209030309000306
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
>
>Your note was comprehensible, and implementible, but doesnt work!
>
>
nearly, very nearly. The enclosed work fine! I really shouldn't type
scripts past midnight after beer ;-)
>I've determined that in label display the variable name (eg **utc**)
is case sensitive,
I noticed that too, this is a bug which will be fixed in the next build.
It's not truly case sensitive, it is just that he variable name in the
GetVar statement must be lower case whatever the case of the variable name.
>
>a=xap.UpdateLabel(DisplayName,4, "xxx")
>a=xap.UpdateDisplay(DisplayName)
>
>
This is in fact absolutely correct, assuming it had sub main() and end
sub around it. What is stopping this being displayed is the minimum
length set for that label.was larger than the "xxx" so nothing
was
displayed. The reason for using the minimum lengths to to keep the
display looking nice when it has no data. It the weather example in
the utc field it is set to " @ **utc**" which without the
minimum
length would just display a @ at startup as **utc** would be empty
>which is really the minimum implemetation doesnt make xxx appear. The
>script is being run, I found the scripterror file, and with the above
>shortie script, there are no errors.
>
>
the script error file gets written and lines appended whenever an error
occurs just a little debugging helper
Hope all this helps
James
xAP_Development Main Index |
xAP_Development Thread Index |
xAP_Development Home |
Archives Home
|