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
This works quite well, with the exception that sometimes, I want to display a (possibly multi-line) string without quotation marks, and without a value coming after it. I propose that we introduce print(string):
print("**********************************************\n*** the program entered the main algorithm ***"\n*********************************************")
should just display
**********************************************
*** the program entered the main algorithm ***
**********************************************
without quotation marks.
The text was updated successfully, but these errors were encountered:
martin-henz
changed the title
display/error: special treatment of undefined as first of two arguments
display/error: special treatment of undefined as first of two arguments
Apr 10, 2024
What happens if we want to display the actual value undefined?
A small hack would be needed:
display(value, "the value is:" + (is_undefined(value) ? " undefined" : ""))
martin-henz
changed the title
display/error: special treatment of undefined as first of two arguments
print: display string in REPL without quotation marks
Apr 15, 2024
Currently
prints:
and
prints:
This works quite well, with the exception that sometimes, I want to display a (possibly multi-line) string without quotation marks, and without a value coming after it. I propose that we introduce
print(string)
:should just display
without quotation marks.
The text was updated successfully, but these errors were encountered: