diff --git a/source/text/sbasic/shared/03020303.xhp b/source/text/sbasic/shared/03020303.xhp index 0c33d23439..3741e50cf7 100644 --- a/source/text/sbasic/shared/03020303.xhp +++ b/source/text/sbasic/shared/03020303.xhp @@ -38,14 +38,14 @@ -Lof (FileNumber) +Lof (FileNumber) As Long Long -FileNumber: Any numeric expression that contains the file number that is specified in the Open statement. -To obtain the length of a file that is not open, use the FileLen function. +FileNumber: Any numeric expression that contains the file number that is specified in the Open statement. +To obtain the length of a file that is not open, use the FileLen function. diff --git a/source/text/sbasic/shared/03020408.xhp b/source/text/sbasic/shared/03020408.xhp index f0fc5cb0d5..bb3a030f23 100644 --- a/source/text/sbasic/shared/03020408.xhp +++ b/source/text/sbasic/shared/03020408.xhp @@ -38,25 +38,26 @@ Returns the length of a file in bytes. -Syntax: + -FileLen (Text As String) +FileLen (Text As String) As Long -Return value: + Long +Use ScriptForge.FileSystem service GetFileLen() method when size is expected to be over 2 gigabytes. -Parameters: + Text: Any string expression that contains an unambiguous file specification. You can also use URL notation. -This function determines the length of a file. If the FileLen function is called for an open file, it returns the file length before it was opened. To determine the current file length of an open file, use the Lof function. +This function determines the length of a file. If the FileLen function is called for an open file, it returns the file length before it was opened. To determine the current file length of an open file, use the Lof function. -Example: + -Sub ExampleFileLen - MsgBox FileLen("C:\autoexec.bat") -End Sub +Sub ExampleFileLen + MsgBox FileLen("C:\autoexec.bat") +End Sub