Flowcode V6. Assigning Formulas & variables to keys.
Posted: Fri Apr 01, 2016 11:38 pm
Here is a simple flowchart:
Just select Edit, Key mappings...
In the new window that appears, select New, then Add New: Enter in the new calculation box (you can just double click Count from just below the Variables) :
Then select OK:
Note If you see three dots within formula, then you will need to place cursor within the area shown as a green box,
Cursor will change to a left & right arrow so then you can hold left mouse button down and drag to the right.
Now you click on the box to the right of the formula, below the Key section and press the key you are interested in.
In this case its the w: Now select Add new, New and repeat above steps addingand assign q:
Finish by selecting OK
Now run the simulator at full speed (will still work if running at a slower speed), pressing the q and w keys: If the value is not changing when pressing q or w keys then try clicking anywhere within flowchart to bring into focus.
Instead of adding a formula, you could just assign a value.
E.g
Hope you find this useful.
Martin
All I would like to do is run the simulation in full speed and press q to decrease count by 1 & press w to increase count by 1.Just select Edit, Key mappings...
In the new window that appears, select New, then Add New: Enter in the new calculation box
Code: Select all
Count=Count+1
Cursor will change to a left & right arrow so then you can hold left mouse button down and drag to the right.
Now you click on the box to the right of the formula, below the Key section and press the key you are interested in.
In this case its the w: Now select Add new, New and repeat above steps adding
Code: Select all
Count=Count-1
Now run the simulator at full speed (will still work if running at a slower speed), pressing the q and w keys: If the value is not changing when pressing q or w keys then try clicking anywhere within flowchart to bring into focus.
Instead of adding a formula, you could just assign a value.
E.g
Code: Select all
Count=10
Martin