From 1b8a44584d852207dae4b6ac7ac73f26d9f8b1e5 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 27 Dec 2005 19:24:42 +0000 Subject: [PATCH] FileRead is limited to 1024 only on the normal builds git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4461 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/file.but | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docs/src/file.but b/Docs/src/file.but index 94e8b44b..3ac20013 100644 --- a/Docs/src/file.but +++ b/Docs/src/file.but @@ -21,7 +21,7 @@ If no absolute path is specified the current folder will be used. The current fo \c handle user_var(output) [maxlen] -Reads a string from a file opened with FileOpen. The string is read until either a newline (or carriage return newline pair) occurs, or until a null byte is read, or until maxlen is met (if specified). Strings are limited to 1024 characters. If the end of file is read and no more data is available, the output string will be empty, and the error flag will be set. +Reads a string from a file opened with FileOpen. The string is read until either a newline (or carriage return newline pair) occurs, or until a null byte is read, or until maxlen is met (if specified). By default, strings are limited to 1024 characters (a special build with larger NSIS_MAX_STRLEN can be compiled or downloaded). If the end of file is read and no more data is available, the output string will be empty, and the error flag will be set. \c ClearErrors \c FileOpen $0 $INSTDIR\file.dat r