by @Santiago benjamin santucho Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_249a1b30_15cb_48d8_83f3_24b61fc4e0c9"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Prescenciausuario","lengthValue2":"5","id":"id_3f118751_ebe9_452b_82e9_7ebfe490bde2","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Estadoporton","lengthValue2":"5","id":"id_a5a82607_1da7_4ab2_836f_8156267ce684","initValue":"0"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5d5bdd75_7ef2_4d71_92dd_da2b541192b6","value":"\"AbrirPorton\""}],"id":"id_32714efb_3acf_4ff7_80c1_f3893168c9c7"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_fd63078a_fa68_425f_98de_f47574dc366a","value":"\"EsperarYEntrar\""}],"id":"id_2a14fc03_ec90_42ba_b9e9_70fb97968dd8"},"condition":"Estadoporton==0","@type":"If","id":"id_ec98f2e8_cf1c_4e6d_8adc_71b7dc970b73"},{"@type":"Assign","name":"x","id":"id_196d4cd5_06b2_451c_992b_b97639a145bd","value":"19"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8fd5664e_f550_4059_afb7_7feb5d0a6c3b","value":"\"output\""}],"id":"id_c158fda8_e1c2_472e_903c_768ec4c7c648"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_bb05c8fa_8815_4248_b43a_15ce8dbb7a40","value":"\"output\""}],"id":"id_c73ee577_748d_400e_bba6_abfb0234a034"},"condition":"true","@type":"If","id":"id_f90c6b08_709e_49e9_b728_587f6bee3f0a"}],"id":"id_a051ca67_2fac_4542_8189_b59e8d25b098"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_79913616_0eb9_438f_b54c_43997b53f136","value":"\"EsperarYCerrar\""}],"id":"id_7ec13985_308b_4dba_b9e3_5a86595b32d7"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d9936152_ae01_49d0_9e80_7f9274fb1228","value":"\"PortonCerrado\""}],"id":"id_5a0c33f5_a580_46e8_a575_f83607cdb9c6"},"condition":"Estadoporton==0","@type":"If","id":"id_54ef10b8_e6fc_4852_b21f_00e34682943f"}],"id":"id_ec1f7442_ccd7_4ef4_bc47_f67c904863f8"},"condition":"Prescenciausuario==0","@type":"If","id":"id_127da5b1_9f29_4eb8_af09_81fab60c42fc"},{"@type":"Return","id":"id_7c7ac28b_1084_4389_a31c_da173279b767","maybeValue":null}],"parameters":[]},"id":"id_44892ca2_07a0_4219_ac58_ba3839e99a6b","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.3","revision":260}