Graph Computer/Developer guide
Developer overview

Run your first program

Price an order that includes one spare part per line. Three parts at 12 each cost 48 with the spare.

1. Open the sample

The example loads three rows. A holds the requested quantity and B holds the unit price.

Open “Allow for a spare” →
Input · two numeric columns
3, 12
2, 7.5
4, 6

2. Follow the steps

Multiply A by B to price the requested parts. Then add B to the running result to pay for one more part. Each row keeps its original B throughout the program.

3. Run and inspect

Choose Run program. The worksheet shows each pair of inputs beside its answer. Change the first quantity from 3 to 5 and run again. Its line total becomes 72.

PartsUnit priceWith spare
31248
27.522.5
4630

4. Take the results with you

Download CSV writes all three columns. Copy results copies the output column in input order. Sign in to keep the named steps for another job.

JavaScript reference

Call the browser engine with numeric rows and an ordered list of operations.