From 40d6e223183ba0ecbea0c031a1780a1c611a74dd Mon Sep 17 00:00:00 2001 From: Steven Ward Date: Mon, 9 Oct 2023 21:21:41 -0400 Subject: [PATCH 1/5] s/windowz/Windows/ --- CHANGES | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 58338f8..d985507 100644 --- a/CHANGES +++ b/CHANGES @@ -4246,7 +4246,7 @@ The following are the changes from calc version 2.11.5t0 to 2.11.5t1.1: Fixed calc path in help/script. Added read-only parameter, config("windows") to indicate if the system - is MS windowz WIN32 like system. + is MS Windows WIN32 like system. Configuration values that used to return "true" or "false" now return 1 (a true value) or 0 (a false value). Thus one can do: From daac7b35af39870fb208468947e9ec8edfa44cc6 Mon Sep 17 00:00:00 2001 From: Steven Ward Date: Mon, 9 Oct 2023 21:22:46 -0400 Subject: [PATCH 2/5] ctime() does not remove the trailing newline --- help/ctime | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/help/ctime b/help/ctime index ba56c33..492a78e 100644 --- a/help/ctime +++ b/help/ctime @@ -8,18 +8,17 @@ TYPES return string DESCRIPTION - The ctime() builtin returns the string formed by the first 24 + The ctime() builtin returns the string formed by the characters returned by the C library function, ctime(): E.g. - "Mon Oct 28 00:47:00 1996" - - The 25th ctime() character, '\n' is removed. + "Mon Oct 28 00:47:00 1996\n" EXAMPLE ; ## NOTE: Your output will likely vary: ; printf("The time is now %s.\n", ctime()) - The time is now Mon Apr 15 12:41:44 1996. + The time is now Mon Apr 15 12:41:44 1996 +. LIMITS none From d809ce5cf05772f7f3f01bd812c0380761bdb452 Mon Sep 17 00:00:00 2001 From: Steven Ward Date: Mon, 9 Oct 2023 21:24:47 -0400 Subject: [PATCH 3/5] Use null() instead of nul() --- help/argv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help/argv b/help/argv index d292106..aeb009a 100644 --- a/help/argv +++ b/help/argv @@ -14,7 +14,7 @@ DESCRIPTION strings available, including the program or script name. If the numeric arg is supplied, then the corresponding command line - string is return, if it exists. Otherwise a nul() value is returned. + string is return, if it exists. Otherwise a null() value is returned. In keeping with the argc/argv convention of C, argv(0) will refer to the name of the program. If the -f filename argument is used, From 79964338d13e1cab0dfdffaca24a3a2f18be4df1 Mon Sep 17 00:00:00 2001 From: Steven Ward Date: Mon, 9 Oct 2023 21:25:40 -0400 Subject: [PATCH 4/5] Fix minor typos --- help/command | 2 +- help/fopen | 2 +- help/fpathopen | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/help/command b/help/command index 5b95c58..ccb0cc4 100644 --- a/help/command +++ b/help/command @@ -152,7 +152,7 @@ Command sequence exit string The action of these commands depends on where they are used. - At the interactive level, they will cause calc it edit. + At the interactive level, they will cause calc to exit. This is the normal way to leave the calculator. In any other use, they will stop the current calculation as if an error had occurred. diff --git a/help/fopen b/help/fopen index f07357b..697815e 100644 --- a/help/fopen +++ b/help/fopen @@ -46,7 +46,7 @@ DESCRIPTION Some non-POSIX systems such as MS Windows treat text files and binary files differently. In text mode MS Windows consider - "\r\n" and end-of-line character. On an Apple MAC, the + "\r\n" an end-of-line character. On an Apple MAC, the text mode end-of-line character is "\r". Names of files are subject to ~ expansion just like the C or diff --git a/help/fpathopen b/help/fpathopen index 0f884af..2184e74 100644 --- a/help/fpathopen +++ b/help/fpathopen @@ -100,7 +100,7 @@ DESCRIPTION Some non-POSIX systems such as MS Windows treat text files and binary files differently. In text mode MS Windows consider - "\r\n" and end-of-line character. On an Apple MAC, the + "\r\n" an end-of-line character. On an Apple MAC, the text mode end-of-line character is "\r". Names of files are subject to ~ expansion just like the C or From c1882e2ea0cec39177c9bbdcf77fde0c16ad369c Mon Sep 17 00:00:00 2001 From: Steven Ward Date: Mon, 9 Oct 2023 21:27:23 -0400 Subject: [PATCH 5/5] Use full name of function to match help file --- help/matfill | 2 +- help/mattrans | 2 +- help/randombit | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/help/matfill b/help/matfill index f8a952e..466ebf4 100644 --- a/help/matfill +++ b/help/matfill @@ -2,7 +2,7 @@ NAME matfill - fill a matrix with specified value or values SYNOPSIS - mat(m, x [, y]) + matfill(m, x [, y]) TYPES m matrix diff --git a/help/mattrans b/help/mattrans index f08e5dd..d155349 100644 --- a/help/mattrans +++ b/help/mattrans @@ -2,7 +2,7 @@ NAME mattrans - matrix transpose SYNOPSIS - matdim(m) + mattrans(m) TYPES m 2-dimensional matrix diff --git a/help/randombit b/help/randombit index 9a9c5f3..7fdec97 100644 --- a/help/randombit +++ b/help/randombit @@ -1,5 +1,5 @@ NAME - randbit - Blum-Blum-Shub pseudo-random number generator + randombit - Blum-Blum-Shub pseudo-random number generator SYNOPSIS randombit([x])