-->
Page 2 of 3

Re: V1.13: problems with timer function

PostPosted: Tue Nov 03, 2015 7:44 pm
by xtal
what is the magic code to CRLF using wprint ??? wprint chr(13) or wprint chr(10) works :mrgreen:
I tried a few but all failed &#13: \r\n :roll:


have you check the FOR -- Next issue when used in button code... 2nd click clowdown :shock: :geek: :ugeek:



just found pressing enter in text box crashes / dumps exception(28) also attempts to execute BLINK
< out of memory I think>
Yep hitting mem wall SBUF will be too big :(

Re: V1.13: problems with timer function

PostPosted: Tue Nov 03, 2015 8:17 pm
by TassyJim
xtal wrote:what is the magic code to CRLF using wprint ???
I tried a few but all failed &#13: \r\n


Being HTML, normal CRLF does nothing
Try
Code: Select allwprint "<BR>"


Jim

Re: V1.13: problems with timer function

PostPosted: Tue Nov 03, 2015 8:24 pm
by xtal
<br> does not wotk inside text area

Did find that wprint chr(10) or wprint chr(13) works in my case ...... , but I'm out of memory!!!!!!!!!!!!!

Re: V1.13: problems with timer function

PostPosted: Wed Nov 04, 2015 3:08 am
by matherp
to set the timer to zero and disable it use the command


Hi

this corrects the exit - thanks.

However, I still get no display updates with wprint htmlvar(a) until I exit the program. Am I misunderstanding something?


This is what I see when the program is first run

going to do some stuff in a bit[Click me to exit]1.00


This is what I see after exiting after about 12 seconds

going to do some stuff in a bit[Click me to exit]3.003.003.00


but I get no updates between and value 2 is complete lost

revised test code is:
Code: Select alltimer 5000 [do.some.stuff]
print "going to do some stuff in a bit"
button "Click me to exit" [Exit.ThisThing]
a = 0
wait
[do.some.stuff]
wprint htmlvar(a)
a = a + 1
wait
[Exit.ThisThing]
timer 0
end