Search the Community
Showing results for tags 'max character length'.
Found 1 result
Hi, Just a general question, I'm trying to write a calculator for a specific sum but came across a problem. Question is, what is the max amount of characters in a string of chars that can be assigned to a variable? for example the issues i'm having are as follows. If I have the code... Local $var = 1001011001010100001 msgbox(0,"",$var) the message box displays 1001011001010100001 as expected. But if the string is slightly longer such as... Local $var = 1001011001010100001001001000100100 msgbox(0,"",$var) I get the following in my message box, 9223372036854775807. If I wrap my number in "" then the message box displays correctly.. example Local $var = "1001011001010100001001001000100100" msgbox(0,"",$var) However if my string of characters is too long, autoit returns an error of 'Unterminated string'. Is this a limitation of AutoIt? I'm trying to work out a sum but none of my calculators can display enough digits and they all just give an error.