by @alan yassel Fork
{"functions":[],"name":"tarea","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_b01ee004_c8d3_4329_84fe_895a03db6687"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num","lengthValue2":"5","id":"id_72c05483_9067_4cb1_bd51_39e51153dfa1","initValue":null},{"newline":true,"@type":"Output","id":"id_29299527_20ff_4ce5_8c8e_84479cf6ec96","value":"\"ingresa un numero positivo: \""},{"@type":"Input","name":"num","id":"id_b2372c9c_ff82_4b70_a0d1_fc29aebd24b5","prompt":null},{"newline":true,"@type":"Output","id":"id_15892ad8_8f16_4a01_8987_2c17626952df","value":"num"},{"condition":"num <= 0","@type":"DoWhile","id":"id_b97187a9_4422_4873_a500_0f362f2b5ecd","body":{"statements":[{"newline":true,"@type":"Output","id":"id_6fb4a6a9_70cb_4266_a4b0_87115042016e","value":"\"Error, el nĂºmero debe ser > 0\""},{"@type":"Input","name":"num","id":"id_64c5eb25_528a_49cf_82f2_f12458d78458","prompt":null}],"id":"id_09d590fe_7784_4792_95bd_a53359419c7d"}},{"newline":true,"@type":"Output","id":"id_6921a3f4_df68_4d01_89af_bd9aad375347","value":"\"numero valido \" + num"},{"@type":"Return","id":"id_ed818446_9aa3_4b01_8b94_e764366ae88d","maybeValue":null}],"parameters":[]},"id":"id_079a15a9_c2c9_4135_a328_e10d3c439aad","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.3","revision":192}