by @Giovanni+viola Fork
{"functions":[],"name":"Count to given number","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_e9113f74_0048_42f8_86cd_b91bd9c10cf1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"count","lengthValue2":"5","id":"id_80db0c99_9777_4c5f_b7dc_8f5745884980","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Gnum","lengthValue2":"5","id":"id_587ae1eb_8c93_47d7_bbae_55eea5b99574","initValue":null},{"@type":"Assign","name":"count","id":"id_233ac74f_9437_48c0_ab5a_7e2b1c809762","value":"1"},{"newline":true,"@type":"Output","id":"id_76afd347_7e7f_437b_8bd2_3a7e0fa29084","value":"\"give me a number to count up to\""},{"@type":"Input","name":"Gnum","id":"id_82051991_317d_4b57_99cf_35cabe4fa422","prompt":null},{"condition":"(Gnum+1)>count","@type":"While","id":"id_27296b7b_959d_487b_b1a8_7a8965c85181","body":{"statements":[{"newline":true,"@type":"Output","id":"id_7d9a0732_63ac_4ac9_819a_c72d3c83f599","value":"count"},{"@type":"Assign","name":"count","id":"id_443ffd5c_d2b7_4a12_b7e1_ff310f1ec7b2","value":"count+1"}],"id":"id_1a9721af_1b57_452f_9ca2_eae396dd3c57"}},{"@type":"Return","id":"id_52aed723_ef00_47b6_ac6e_8c35f373cf0c","maybeValue":null}],"parameters":[]},"id":"id_82402ff6_8ed5_4791_a59e_768f4bc6c258","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":138}