This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-01-22 18:02:13

maki
Scratcher
Registered: 2008-01-21
Posts: 100+

Parsing Question

So I'm attempting to make a sort of "graphing calculator" project with variables X and Y. The user  should be able to input a function (of x), such as [x+1/x] and the variable Y will be set to this. The sprite (whose X position is -240) will go along the path of the function (change x position by 1, set X to x position, set y position to Y).

So my question is, is it possible to have Scratch read an an input such as [x+1/x] as

                                    ((  <{ X }><+> (( 1 </> <{ X }>> )) ))?


Creepers are exceptionally volatile.

Offline

 

Board footer