Parsing Lisp Code in Snap!

I don't wanna be discouraging, but usually JavaScript looks like this
new.dialogBoxMorph();

I'm getting somewhere!
image

actually, new is a keyword in JS, so it is written on its own. something.somthingelse() is a method call. This ain't my first rodeo with Javascript.

Oh my, I honestly wasn't expecting that to work...
Screenshot 2024-02-19 12.54.38

I should probably read the documentation...
Console script pic

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.