home *** CD-ROM | disk | FTP | other *** search
- Y HELPFUL THEN TAKE YOU SPOUSE OUT TO
- DINNER BECAUSE (HE|SHE) IS PROBABLY AS SICK OF YOUR PC AS
- MINE IS AND GIVE MY BBS A CALL SOMETIME AND UPLOAD A FILE
- TO ME AND THE PROGRAMMING GODS WILL FOREVER SMILE UPON
- YOU.
-
- LYNN LONG
- TULSA IBBS C-SIG
- 918-749-0718
- 24 HOURS
- SUBSCRIPTION BBS
-
-
- cls()
-
- The cls() function clears the screen. It is called out
- out of lattice c as:
-
- cls();
-
- ----------------------------------------------------------
-
- locate(row,col)
- int row,col;
-
- This function positions the cursor at the location specif-
- ied by row and column. Suppose that you wanted the cursor
- to be positioned at row 10 and column 10. The call from
- Lattice would be:
-
- locate(10,10);
-
- ----------------------------------------------------------
-
- dosdate(array)
- char array[];
-
- This function returns the system date into a character
- array in the form mm-dd-yyyy. You must declare an array
- of 11 character in length and pass the address to the
- function. The call from Lattice is as follows.
-
-
- char date[11];
- dosdate(date);
-
-
- ----------------------------------------------------------
-
-
- dostime(time)
- char time[];
-
- This function returns the system time into a character
- array in the form of hh:mm:ss:hh. You must declare an
- array of 12 characters and pass that address to the funct-
- ion. The call from Lattice is:
-
-
- char time[12];
- dostime(time);
-
-
- ----------------------------------------------------------
-
-
- prtscn()
-
-
- This function prints the screen to a printer under program
- control the same as pressing the shift-PrtSc keys do. I
- have found it useful to put into programs at the point I
- detect an error condition and I am not at the location. It
- sometimes helps to see what the user was doing at the time
- the error occured. It is called from Lattice C as:
-
- prtscn();
-
- ----------------------------------------------------------
-
-
-
-
- I WILL ADD MOÇ