From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- .../source/text/sbasic/shared/03020408.xhp | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 helpcontent2/source/text/sbasic/shared/03020408.xhp (limited to 'helpcontent2/source/text/sbasic/shared/03020408.xhp') diff --git a/helpcontent2/source/text/sbasic/shared/03020408.xhp b/helpcontent2/source/text/sbasic/shared/03020408.xhp new file mode 100644 index 000000000..bb3a030f2 --- /dev/null +++ b/helpcontent2/source/text/sbasic/shared/03020408.xhp @@ -0,0 +1,64 @@ + + + + + + + FileLen Function + /text/sbasic/shared/03020408.xhp + + + + + + +
+ + FileLen function + + + +FileLen Function +Returns the length of a file in bytes. +
+ + + +FileLen (Text As String) As Long + + + +Long +Use ScriptForge.FileSystem service GetFileLen() method when size is expected to be over 2 gigabytes. + + + 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. + + + + + +Sub ExampleFileLen + MsgBox FileLen("C:\autoexec.bat") +End Sub + + + +
\ No newline at end of file -- cgit v1.2.3