by @Luke Croucher Fork
{"functions":[],"name":"counting downwards","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_d3195ccd_f420_43ee_a0c1_6fb0b4c1778d"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_a0eae62c_9931_4b12_83bc_a8063c11f323","initValue":null},{"@type":"Input","name":"x","id":"id_5eef8f45_6588_4f4e_a72d_706faeb41cb3","prompt":"what number shall i count down fro"},{"condition":"x>0","@type":"While","id":"id_4de7a761_6cf9_4dc7_96f4_58110e9679c8","body":{"statements":[{"newline":true,"@type":"Output","id":"id_b60ca6a0_f6b1_4252_addc_8036de1c6b9e","value":"x"},{"@type":"Assign","name":"x","id":"id_add1ba30_475f_43ad_9104_55a5c705c595","value":"x-1"}],"id":"id_08bb8006_f915_4ded_9992_ca1a5f133ec7"}},{"@type":"Return","id":"id_a26d9a52_eaf0_42c9_bbb7_6e496648ef08","maybeValue":null}],"parameters":[]},"id":"id_fc1e00ae_3df4_490a_8d2e_dc7a5edddfff","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":274}