Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Result pic misbehavior #3257

Open
maryfries opened this issue Oct 3, 2023 · 2 comments
Open

Result pic misbehavior #3257

maryfries opened this issue Oct 3, 2023 · 2 comments

Comments

@maryfries
Copy link

When I do a script pic, I get this
Untitled script pic (17)
but when I do a result pic (clicking the operator), I get this
Untitled script pic (18)
Visible stepping is not on.
I want a result pic for the whole expression (don't mind the error; I was trying to make an error pic).
Interestingly, it works as expected for other error types:
Untitled script pic (19)

@maryfries
Copy link
Author

FWIW, pets was not defined.

@brianharvey
Copy link
Collaborator

I agree with you wanting a picture of the entire expression you clicked on. But the "interestingly" part at the bottom isn't surprising, for two reasons: (1) "NaN" isn't an error; it doesn't have that "Hmm..." in front of it. It's considered a perfectly good numeric-type value. So the two cases aren't comparable. (2) In any case, the ITEM part of that expression worked fine, and gave "apple" as its result; it's the + that generated the error, in response to 3+apple.

About your second message, Snap! variables are initialized to zero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants