You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if and while operators interpret condition as integral number. And if the condition is empty or is not the integral number, result will be zero (or false). This causes disambiguity: there is no possibility to distinguish between empty string and the string containing zero (or string beginning from "0" and which is not octal number).
Due to this problem, it is impossible to implement very basic list operations such as "foreach", because empty string (or list) cannot be distinguished from non-empty string.
The text was updated successfully, but these errors were encountered:
0xfk0
changed the title
u
Using string variables in condition.
Sep 13, 2024
Currently
if
andwhile
operators interpret condition as integral number. And if the condition is empty or is not the integral number, result will be zero (or false). This causes disambiguity: there is no possibility to distinguish between empty string and the string containing zero (or string beginning from "0" and which is not octal number).Due to this problem, it is impossible to implement very basic list operations such as "foreach", because empty string (or list) cannot be distinguished from non-empty string.
The text was updated successfully, but these errors were encountered: