TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Frank Adam
from: andrew clarke
date: 1996-08-23 15:17:08
subject: Bars anyone ?

21 Aug 96 08:53, Frank Adam wrote to All:

 > int main( void )
 > {
 >  unsigned long num = 9000171L; /* eg.: a file's size */
 >  int xpos = 10,ypos = 10,barlen = 65,ch = 178;
 >  unsigned long count = 0;
 >  unsigned long blocks;
 >  unsigned long j;

 >  vm_paintclearscreen(Set_Attrib(7,0));

Just a note that you should remember to call vm_init() before you call any
other VidMgr function, otherwise VidMgr could (and most likely will) crash
your application and/or system.  It's also not a bad idea to call vm_done()
before your program terminates.

Regards
Andrew

-- randy{at}zws.com

--- Msged/2 4.00
* Origin: Blizzard of Ozz, Melbourne, Australia (3:635/727.4{at}fidonet)
SEEN-BY: 50/99 620/243 623/630 632/349 635/503 544 727 728 711/401 409 410
SEEN-BY: 711/413 430 808 809 932 934 712/515 713/888 714/906 800/1
@PATH: 635/727 544 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™.