(Not a bug in the true sense, but also not a doc issue because the IDE shows the message).
In reference to the error message about long strings in the IDE ("A literal string can't be bigger than 8192 characters"), I suggest this be changed to something more specific and less confusing such as "Hard-coded strings in the IDE cannot be larger than 8192 characters".
Reason for this report is because it can lead some people to mistakenly think strings cannot be over 8 KB in their apps (see thread starting here -> viewtopic.php?p=556467#p556467), which is not true because in reality they're unlimited. This quick and easy change would remove the ambiguity. Thanks.
Literal string error message
Re: Literal string error message
-1
I think 'hard-coded string' is less clear than 'literal string'.
I think 'hard-coded string' is less clear than 'literal string'.
Re: Literal string error message
I think 'literal' is a common word in programming and should be familiar to every programmer.
345 is a literal
3.141592654 is a literal
"I am a literal" is a litral
345 is a literal
3.141592654 is a literal
"I am a literal" is a litral
Wikipedia wrote:In computer science, a literal is a notation for representing a fixed value in source code. Almost all programming languages have notations for atomic values such as integers, floating-point numbers, and strings, ...
sorry for my bad english
Re: Literal string error message
I don't mind either way, but as long as it mentions the limit is for the IDE/editor/source code.