The following C functions are presented:
A series of characters terminated by a null (0x00) character usually used in C. |
|
Defines the structure of a D3 data element manipulated from the C environment. |
|
Points to a string structure used by routines that access D3 from the C programming language. |
|
Equivalent to the result = alpha(string) BASIC statement. |
|
Equivalent to the result = ascii(string) BASIC statement. |
|
Equivalent to the result = @(x) BASIC statement. |
|
Equivalent to the result = @(x,y) BASIC statement. |
|
Equivalent to the break expression BASIC statement. |
|
Queues up arguments for _CP_out_msg. This function, in conjunction with _CP_out_msg, is equivalent to the BASIC error statement. |
|
Equivalent to the call name( {string1 {, string2 {, ...}}}) BASIC statement. |
|
Equivalent to the casing expression BASIC statement. |
|
Equivalent to the result = string1:string2 BASIC statement. |
|
Equivalent to the clearfile BASIC statement. |
|
Equivalent to the clearselect BASIC statement. |
|
Equivalent to the close BASIC statement. |
|
Equivalent to the result = col1 BASIC statement. |
|
Equivalent to the result = col2 BASIC statement. |
|
Equivalent to the result = (string1 = string2) BASIC statement. |
|
Equivalent to the convert string1 to string2 in result BASIC statement. |
|
Equivalent to the result = count(string1, string2) BASIC statement. |
|
Equivalent to the crt BASIC statement. |
|
Equivalent to the crt BASIC statement. |
|
Equivalent to the data string BASIC statement. |
|
Equivalent to the result = date() BASIC statement. |
|
Equivalent to the result = dcount(string1, string2) BASIC statement. |
|
Equivalent to the debug BASIC statement. |
|
Equivalent to the result = delete(string, ac.expression, vc.expression, sc.expression) BASIC statement. |
|
Equivalent to the delete expression,string BASIC statement. |
|
Equivalent to the result = dtx(expression) BASIC statement. |
|
Equivalent to the result = ebcdic(string) BASIC statement. |
|
Equivalent to the echo expression BASIC statement. |
|
Equivalent to the execute command capturing string1 returning string2 BASIC statement. |
|
Equivalent to the result = extract(string, ac.expression, vc.expression, sc.expression) BASIC statement. |
|
Equivalent to the result = field(string1, string2, expression) BASIC statement. |
|
Equivalent to the result[string2, expression1, expression2] = string1 BASIC statement. |
|
Equivalent to the filelock expression BASIC statement. |
|
Equivalent to the fileunlock expression BASIC statement. |
|
Equivalent to the result = fold(string1, string2, string3) BASIC statement. |
|
Equivalent to the footing string BASIC statement. |
|
Equivalent to the get BASIC statement. |
|
Equivalent to the heading string BASIC statement. |
|
Equivalent to the result = iconv(string1, string2) BASIC statement. |
|
Equivalent to the in result for expression BASIC statement. |
|
Equivalent to the result = index(string1, string2, expression) BASIC statement. |
|
Equivalent to the input BASIC statement. |
|
Equivalent to the result = insert(string1, ac.expression, vc.expression, sc.expression, string2) BASIC statement. |
|
Global C integer which contains the last D3 interrupt that occurred. This value is the same as that returned by the BASIC function system(37). |
|
Converts an integer into a CPSTR. |
|
Equivalent to the key(string1, expression, string2, string3) BASIC statement. |
|
An optional function for preloading BASIC subroutines, before they are needed. |
|
Equivalent to the locate BASIC statement. |
|
Equivalent to the lock BASIC statement. |
|
Logs in to D3 from a C main program. This function must be called prior to any other function. |
|
Equivalent to the result = string1 match string2 BASIC statement. |
|
Dynamically allocates a CPSTR* and fills it with a copy of cstring. |
|
Dynamically allocates a CPSTR* of length expression and fills it with a copy of cstring. |
|
Equivalent to the result = num(string) BASIC function. |
|
Equivalent to the result = occurs(string, expression) BASIC function. |
|
Equivalent to the result = oconv(string1, string2) BASIC statement. |
|
Equivalent to the open string1,string2 to fd BASIC statement. |
|
Equivalent to the out BASIC statement. |
|
Outputs an error message which has been previously queued by _CP_build_msg. |
|
Equivalent to the result[expression1, expression2] = string1 BASIC statement. |
|
Equivalent to the page BASIC statement. |
|
Equivalent to the page expression BASIC statement. |
|
Causes all subsequent breaks to push a level or drop into the debugger as is standard in D3. |
|
Sets the application to a standard D3 environment. When using this setting, all terminal input and output must be done via D3 routines only (execute, print, crt). |
|
Equivalent to the precision number BASIC statement. |
|
Equivalent to the print string BASIC statement. |
|
Equivalent to the printer expression BASIC statement. |
|
Equivalent to the print string BASIC statement. |
|
Equivalent to the print on expression BASIC statement. |
|
Equivalent to the prompt BASIC statement. |
|
Equivalent to the read, readu and readu locked BASIC statements (depending upon type): |
|
Equivalent to the readnext result,value from list BASIC statement. |
|
Equivalent to the readt BASIC statement. |
|
Equivalent to the readv BASIC statement. |
|
Equivalent to the release expression,string BASIC statement. |
|
Equivalent to the release BASIC statement. |
|
Equivalent to the result = replace(string1, ac.expression, vc.expression, sc.expression, string2) BASIC statement. |
|
Equivalent to the replace expression,string1 with string2 BASIC statement. |
|
Equivalent to the rewind BASIC statement. |
|
Equivalent to the root string1, string2 to result BASIC statement. |
|
Converts a double floating point number into a CPSTR. |
|
Returns a standard char* pointing to the first character of the string buffer within a CPSTR structure. |
|
Equivalent to the select expression1 to list BASIC statement. |
|
Equivalent to the send{x} string{:} to port.number BASIC statement. |
|
Converts a CPSTR into an integer. |
|
Equivalent to the sleep(string) BASIC statement. |
|
Returns the length of the CPSTR*, string. |
|
Equivalent to the result = sort(string) BASIC statement. |
|
Equivalent to the result = soundex(string, type) BASIC statement. |
|
Equivalent to the result = space(expression) BASIC statement. |
|
Converts a CPSTR into a double-float number. |
|
Equivalent to the result = str(string, expression) BASIC statement. |
|
A static CPSTR* that points to a single character string which contains 0. It should be used for reading only. |
|
Allocates space for a CPSTR. It is the equivalent of malloc(), but returns a CPSTR*. |
|
Makes a copy of a CPSTR. The actual contents of the string are copied rather than just the pointer. |
|
Releases the CPSTR* string back to the string pool to be allocated at a later time. |
|
Points to a null length string. It should be used for reading only, to initialize a pointer with a pointer to a null string. |
|
Reallocates a CPSTR* to a new length. |
|
Equivalent to the result = string[beg.pos.expression, len.expression] BASIC statement. |
|
Equivalent to the result = sum(string) BASIC statement. |
|
Equivalent to the result = system(expression) BASIC statement. |
|
Terminates a CPSTR* string with a null character. |
|
Equivalent to the result = time() BASIC statement. |
|
Equivalent to the result = timedate() BASIC statement. |
|
Equivalent to one of several BASIC transaction processing statements depending on the op parameter. |
|
Equivalent to the result = trim(string) BASIC statement. |
|
Causes all subsequent breaks to terminate the process as is standard in UNIX applications. |
|
Sets the application to a standard UNIX environment. |
|
Equivalent to the unlock expression BASIC statement. |
|
Equivalent to the unlock BASIC statement. |
|
Equivalent to the weof BASIC statement. |
|
Equivalent to the write or writeu BASIC statements. |
|
Equivalent to the writet BASIC statement. |
|
Equivalent to the writev and writevu BASIC statements. |
|
Equivalent to the result = xtd(string) BASIC statement. |