CCBINF.ZIP Control Center Booster Information This file provides some additional documentation for the BIN files which are provided with the CCB (Control Center Booster) and which are documented in StepIVward(tm). If you require further information or desire the extra functionality provided by StepIVward you may purchase the product from Ashton-Tate's customer service department by calling (213)329-9989. ****** ADIR.BIN Synopsis Fills a series array. This is information from a DIR. Parameter A character string whose first characters are a number denoting the type of call. The string must be padded with spaces, see the samples in the table for minimum padding lengths. TYPE Description Sample ---- ---------------------------------- ------------------------- 10 Find first file matching skeleton "10"+mskel+SPACE(12) 2 Find next file matching skeleton "2"+SPACE(12) 3 Return size "3"+SPACE(7) *4 Return date "4"+SPACE(7) *5 Return time "5"+SPACE(7) *6 Return attributes "6"+SPACE(3) * May not work... Returns A character string containing the requested data. ****** CURDIR.BIN Synopsis Displays the current directory. Parameter A character buffer whose length is 65. For example, SPACE(65). Returns The current directory. Example ? TRIM(CALL("Curdir",SPACE(65)) ****** CURSOR.BIN Turns the cursor on. There are no parameters or return values. ****** CURSOFF.BIN Turns the cursor off. There are no parameters or return values. ****** FCLOSE.BIN Synopsis Closes the corresponding DOS file to the handle. Parameter A five character string containing the file handle. Returns True (.T.) if successful, false (.F.) if an error occurred. ****** FCREATE.BIN Synopsis Creates a new DOS file. It can also truncate an existing file to a length of zero. Parameter A character string whose first character is a number denoting the file open mode. The string length must be at least 4. The access modes are as follows: 0 Normal 1 Read only 2 Hidden 3 System Returns The file handle as a numeric value. A -1 is returned if an error occurred. ****** FREAD.BIN Synopsis Fills character memory variables with characters from a DOS file. Parameter A character string whose first five characters are the file handle. The next character is the number of characters to read. The rest of the string is space padded with the number of characters to read minus 5; unless the number of characters to read is less than 5, then no padding is needed. Returns A character string containing the text. Example fhandle = FOPEN("Temp.txt") fcount = 128 m_buffer = STR(fhandle) + CHR(fcount) IF fcount < 5 m_buffer = m_buffer + SPACE(fcount - 5) ENDIF newtext = CALL('FREAD', m_buffer) ****** FOPEN.BIN Synopsis Opens a DOS file directly. Parameter A character string whose first character is a number denoting the file open mode. The string length must be at least 4. The open modes are as follows: 0 Read only 1 Write only 2 Read/Write Returns The file handle as a numeric value. A -1 is returned if an error occurred. ****** FSEEK.BIN Synopsis Sets the DOS file pointer to a new position. Parameters A character string whose first five characters are the file handle. The next character five characters are the number of bytes to move the pointer. The last character denotes the method of moving the pointer. The valid choices for the method are as follows: 1 From the beginning of the file 2 From the current pointer position 3 From the end of the file Returns a numeric value representing the new position from the beginning of the file. If an error occurred, -1 is returned. ****** FWRITE.BIN Synopsis Fills a DOS-specified file with a buffer variable. Parameters A character string whose first five characters are the file handle. The rest of the string contains the text to write to the file. Returns the number of bytes successfully read. If an error occurred, -1 is returned. ****** KEYBOARD.BIN Synopsis Stuffs characters into the keyboard buffer. Parameter A character string containing the characters to stuff into the keyboard buffer. Returns Nothing. ****** NETNAME.BIN Synopsis Returns the network name. Parameter A character string whose length is 18. The last 3 characters must be "# 0". For example, CALL('Netname',SPACE(15)) + '# 0'. Returns The name of the current network. ****** SCROLL.BIN Synopsis Allows an area on the screen to be scrolled up and down. The scroll area is not cleared first as under dBASE IV. Parameter A character string whose first 8 characters denote the region to be scrolled. Each region value requires two characters. The order of the regions is: top, left,, bottom, and right. The last three characters denote the number of lines to scroll. Returns False (.F.) ****** GETDRIVE.BIN Synopsis Returns the character drive designator. Parameter A 13 character string whose last character is a colon (:). Returns The default drive as a character string. ****** TMPNAME.BIN Synopsis Replaces the FoxBASE+ unique temporary filename. Parameter A 12 character string. Returns A unique filename in a character string.