fprintf
From DavinciWiki
(Difference between revisions)
(One intermediate revision by one user not shown) | |||
Line 6: | Line 6: | ||
Return Value: None. | Return Value: None. | ||
| | | | ||
− | Syntax: fprintf(filename,text) | + | [[Syntax]]: fprintf(filename, text) |
The fprintf() function is a direct interface to the the C library function of the same name. It works the same as [[sprintf]] but appends its output to specified filename. | The fprintf() function is a direct interface to the the C library function of the same name. It works the same as [[sprintf]] but appends its output to specified filename. | ||
Line 26: | Line 26: | ||
[[category:Davinci Core]] | [[category:Davinci Core]] | ||
[[category:String Functions]] | [[category:String Functions]] | ||
+ | [[category:64-bit]] |
Latest revision as of 10:37, 6 July 2009
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Print formatted output to a file
Arguments and Return Values Arguments: A filename and string Return Value: None.
Usage
Examples dv> fprintf("fpf.txt","The value of 3+4 is %d\n",3+4) dv> k = read_lines("fpf.txt") Text Buffer with 1 lines of text 1: The value of 3+4 is 7 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 07-06-2009 |