Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | misc | |
Tool | misc |
The ellipsis ... denotes that any number of arguments may be provided.
fileid | File id | ||
Allowed: | file id as returned by fopen | ||
format | c-style format description | ||
Allowed: | String | ||
... | Additional arguments | ||
Allowed: | Strings, floats, ints, etc... |
- fp := dms.fopen('myfile', 'w') - sourcename := 'mySource' - hour := 12 - minute := 4 - seconds := 42.3 - dms.fprintf(fp,'%s %02d:%02d:%05.2f\n', sourcename, hour, minute, seconds) - dms.fclose(fp) TIn this example you'd get the following in myfile
mySource 12:04:42.30