TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Paul Wankadia
from: Andrew Seeger
date: 1996-10-04 01:58:58
subject: A few questions

Hello Paul!

Tuesday September 24 1996 21:25, Paul Wankadia wrote to Andrew Seeger:

PW> Hi, I think I mailed you before about the ANSI graphics within your
PW> program. This time, it's about that clock thingy :)

Thats cool, i think i have worked out how to work the ansi, when i get some
more time on my hands i willbe able to try it out.

PW> Just save in C format (refer to previous message) and you will have
PW> them hard-coded within the program!

No wazzas!

PW> You don't REALLY need it...

I sortof thought that, although it appears to have some good routines,
although i am at a loss at times as to how to use them :-) There are no docs
that come with it, for beginners like me, this makes life a little more
interesting.

AS>>> 2... A clock routine, to display the clock and continually

PW> Find a spot in your program where it is waiting for user-input or the
PW> like and while it is idling, make a call to the clock routine (or
PW> WHATEVER you want done!) ...  This is a snippet of my code in a
PW> user-input routine :

Yep, figured that out, its mainly for use when the program is doing nothing in
particular and for a keypress etc...

== cut ==

PW> === bit of code ===
PW> // special variables

== cut ==

PW> I hope I've not trimmed any of the essentials out, but I think it's
PW> all in there...  I've used a function pointer, so I can put
PW> Get_Input() in a LIB and just call it from any of my programs...

Ah, you had me wondering why you used a function pointer! Tis clearer now.

FA>> You just call the function from where ever there is a bit of not
FA>> much to do, and it should be fairly smooth. Of course if the
FA>> program gets tied down somewhere for a few seconds the update will
FA>> not happen, but

PW> Just call Get_Input() with like this :

PW>         Get_Input(Input, 81, My_Idler);

PW> where Input is the variable, 81 is the max. length and My_Idler is
PW> your function (N.B. "My_Idler", not "My_Idler()" !!!).

Noted...

Regards,
        Andrew.

--- FMail/386 1.02
* Origin: Enterprise BBS, Langwarrin, Vic, Aust., +61-3-9776-6732 (3:633/158)
SEEN-BY: 50/99 620/243 623/630 632/107 348 360 633/151 154 158 159 260 371
SEEN-BY: 633/373 374 634/388 396 635/301 502 503 544 639/252 711/409 410 413
SEEN-BY: 711/430 808 809 932 934 712/515 713/888 714/906 800/1
@PATH: 633/158 154 371 635/503 50/99 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.