Re: extended print routine

new topic     » goto parent     » topic index » view thread      » older message » newer message

>Here is a small thing that I found inspiration for today. It is a sort
>of
>printf, except with the possibility to change position of text and
>change
>colors in the same call. It does also support basic text-squares (that
>is
>squares 'drawn' with the background color). I've called the procedure
>eprint ( = extended print) since I couldn't find a better name. My
>programming is quite simple with no smart tricks, so the procedure is
>not
>any faster than what separate statement lines would be, and I'm sure
>there
>are better ways to do this. But it works.
>
>I've used a HTML - kind of look. The routine should be called like
>this:
>
>eprint(text sequence, variable sequence)
>

Ooops.. I had the wrong message selected when I hit reply..... (The
display() routine was meant as a reply for this.. to show what I had
done.. :)
I'm saying this because I made a mention to the <>'s that eprint() uses..
(As for the poke()... I look at the code for prints() while not
thinking....
Oh well..... Ok, it's all cleared up now.. right?
(My routine can make the % formatting easier, IMO.)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu