|
how do i add up numbers in a list? - Snap! Editor - Snap! Forum
Hi, welcome to Snap!. As it turns out, Snap! provides tools that let you do this sort of computation as a one-liner. But I'm more interested in helping you understand the way you're trying to do it and what's in the way of your solution. The first thing may sound irrelevant, because the computer doesn't care what you call things.
How do I implement a simple JavaScript function in Snap!
You could say the same thing about Snap! code! Users post questions, including what we think are trivial questions, about their Snap! programs. “How do I exchange the rows and columns of a matrix?” We should consider prepending a warning for new users at the head of every Advanced Topics thread.
JavaScript tutorial (Part 1) - Snap! Forum
The arguments object gets all input of the function. function () {return arguments [0];} This returns the first input of the function (JavaScript and many other programming languages start counting indices of arrays, strings, and other similar data with 0, but Snap! and Scratch start with 1). Arrow functions:
What happened to the Hummingbird Library? - Snap! Forums
I've coded a program in Snap, saved it to the cloud, and now I would like to add in some blocks to control the Hummigbird. However, the library is now missing from Snap! and is not available to import. Is there a way to import those blocks rather than having to connect the hummingbird to the bluebird connector?
Help with sanp! - Help with Snap! - Snap! Forum
Create a [Snap!]! block named ! that moves the minimum number in that list to the first position and shifts the maximum number to the last one. During this process, your program should not change the order of all the other numbers of the list. Here is an example input list ! This is the output list ! Program Restrictions It is a reporter block, and it returns the updated list. The only ...
How can one convert a program to a PDF file? - Snap! Forum
He needs to submit his Snap! program as a PDF file as part of a programming portfolio. Is there an convenient way to convert his program to a PDF file which shows his algorithms with all of his blocks.
How do I make a list? - Help with Snap! - Snap! Forum
For a quick start however, this might help: Snap!'s list block is a reporter (ovally shaped block that reports a value and can be used as an input to other blocks (e.g. the item _ of _). If you want to use the add block to add stuff to a list programmatically, you have to create a variable.
Any way to export table content from a SNAP program to a file?
The SNAP Manual shows how easily upload data from a csv file to a table. works. I am now looking for the opposite way to EXPORT data from a table in a SNAP program to a file. I figured out I could download the file as XML and get the table data out of the XML file, but I am not sure if there is a faster and better way. Not urgent.
Snap! Forum - A friendly place to discuss programming with Snap!.
A friendly place to discuss programming with Snap!.
FAQ - Snap! Forum
PaintEditor. Do your editing in your favorite vector graphics program before you load the picture into Snap!. Q: How do I export a sprite? A: Right-click (control-click) on the sprite’s icon in the sprite corral. One of the menu options will be “export.” Q: How do I export a custom block?
|