Microsoft KB Archive/50812: Difference between revisions
From BetaArchive Wiki
(importing KB archive) |
m (X010 moved page Microsoft KB Archive/Q50812 to Microsoft KB Archive/50812 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/") |
(No difference)
|
Latest revision as of 19:25, 12 August 2020
Word BASIC Lof() Function Defined
PSS ID Number: Q50812 Article last modified on 02-17-1993
1.00 1.10 1.10a 2.00 WINDOWS
Summary: The WordBasic Lof() function returns the length of a file in bytes. Note: StreamNumber is actually the file number that was specified during the Open() Statement.
Syntax
Num = Lof(StreamNumber)
Example
Sub MAIN Open “Foo.Doc” For Input As #4 Print Lof(4) ’Print Length of file ’to the status bar Close #4 End Sub For more information on WordBasic functions, please refer to the “Microsoft Word for Windows Technical Reference.”
Additional reference words: w4wmacro 2.0 2.00