printf documentation is missing

Posted By: pfeldman

printf documentation is missing - 08/14/08 23:19

When I click on the link for printf in the online manual, I get a "page not found" error (error 404).
Posted By: DJBMASTER

Re: printf documentation is missing - 08/15/08 00:34

Don't you use the manual that comes with SED?

here is an extract for printf...

Code:

printf(char* format, ....)

LC  

Open a message box and displays text or variables in lite-C Pure Mode. 
Unlike most other functions, this one accepts a variable number of char*, int, or double arguments (no var or float). 
If arguments follow the format string, the format string must contain specifications that determine the output format for the arguments. 
The output string must not exceed 256 characters. See a C documentation or Digits for C-style format strings.
 
Parameters:
format - Format string. 

Speed:
Fast 

Example:
var my_var = 123.456;
...
printf("my_var: %.3f",(double)my_var);

See also:
diag, Digits

© 2024 lite-C Forums