From 48c0c0fd7aa9a8c490c74e3731bf763421127835 Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 18 Dec 2023 17:56:24 -0500 Subject: [PATCH] Go over $MaxLengthIntStringConversion doc more --- mathics/builtin/system.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mathics/builtin/system.py b/mathics/builtin/system.py index 58bd7ef06..712e6397e 100644 --- a/mathics/builtin/system.py +++ b/mathics/builtin/system.py @@ -37,12 +37,12 @@ class MaxLengthIntStringConversion(Predefined):
'$MaxLengthIntStringConversion'
A system constant that fixes the largest size of the string that can \ - result when converting an 'Integer' value into a 'String'. When the - 'String' is too large, then the middle of the integer contains + result when converting an 'Integer' value into a 'String'. When the \ + 'String' is too large, then the middle of the integer contains \ an indication of the number of digits elided. - If to 0, at your peril there is no bound. Aside from 0, \ - 640 is the smallest value allowed. + If $MaxLengthIntStringConversion' is set to 0, there is no \ + bound. Aside from 0, 640 is the smallest value allowed.
Although Mathics3 can represent integers of arbitrary size, when it formats \ @@ -58,7 +58,7 @@ class MaxLengthIntStringConversion(Predefined): = 7000 Set '$MaxLenghtIntStringConversion' to the smallest value allowed: - $MaxLengthIntStringConversion = 640 + >> $MaxLengthIntStringConversion = 640 = 640 >> 500! //ToString//StringLength