by @Luke Croucher Fork
{"functions":[],"name":"count up to any number given","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e535cf59_a3c2_4c5d_a458_f43bc994b406"},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_61a08078_1c7b_4447_a2e8_8735904b684a","initValue":"1"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_a63cfb0b_1fba_443b_ba39_d396e2c00020","initValue":null},{"@type":"Input","name":"x","id":"id_a575236c_5b13_4620_acc2_0f70625ddf3d","prompt":"\"please enter a number you want me to count up to\""},{"condition":"x>y-1","@type":"While","id":"id_f362cb80_db83_48f6_9e26_632f605dcf02","body":{"statements":[{"newline":true,"@type":"Output","id":"id_24eb1584_7f0e_4ffc_99da_713887f610f2","value":"y"},{"@type":"Assign","name":"y","id":"id_e5b97cf5_5166_4652_ade4_656c8d13582a","value":"y+1"}],"id":"id_d2ccfa50_69b7_4879_bef0_7255a88e4351"}},{"@type":"Return","id":"id_a93e1035_b4ca_48ce_b4da_37fc68172b13","maybeValue":null}],"parameters":[]},"id":"id_4afe88e0_aa73_4264_a218_1ecb67a483ed","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":188}