Displays the one character char at the output position in the current output window in its normal attribute (color 0).
|
|---|
void _PutChr(int char)
int char; /* Character to display. */ |
Remarks
Example
The following example uses _PutChr( ) to display all 8-bit characters on the screen.
Visual FoxPro Code
| | Copy Code |
|---|
SET LIBRARY TO PUTCHR |
C Code
| | Copy Code |
|---|
#include <pro_ext.h>
FAR Example(ParamBlk FAR *parm)
{
int ch;
for (ch = 0; ch < 256; ch++)
{
_PutChr(ch);
}
}
FoxInfo myFoxInfo[] = {
{"PUTCHR", (FPFI) Example, CALLONLOAD, ""},
};
FoxTable _FoxTable = {
(FoxTable FAR *) 0, sizeof(myFoxInfo)/sizeof(FoxInfo), myFoxInfo
}; |
See Also