Hi,
Just to add, that depends on whatever she means with "basic text" - I'd
agree with you that normally, you'd think this is a textdisplay, but what if
she meant "some text displayed using e-basic"? In other words, canvas,
right?
Generally, the point is that the vertical sync is messed up if you'd just
say
10 c.setattrib textonsettime, clock.read
20 write text to canvas
Because it can take long and short to write things actually to the screen
(also depending on how much you put there). Now, there's two tricks:
1) Display.waitforverticalblank makes sure you have the synchronisation
working (i.e. things aren't appearing halfway)
2) use a second canvas first to write everything to, then copy this canvas
to the active display. The first bit (writing stuff) takes much longer than
just copying the already made pictures.
Does that help? All in all, once upon a time, I loved doing everything in
canvas things, but nowadays (perhaps with less time on my hands), I have as
a rule of thumb: if it CAN be done without code, then do that instead; if it
CAN'T be done without LOTS OF code, there might be better software around
for the purposes. I think this is also a pretty good rule for those with
questions regarding dragging and dropping and whatnot.
Best,
Michiel
For more options, visit
https://groups.google.com/groups/opt_out.