by @kiloi Fork
{"functions":[],"name":"login page","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_9e40986c_63f8_4d41_9698_0ba68887db2e"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"username","lengthValue2":"5","id":"id_abd6283e_7ac9_4ebf_88d8_9a827159e5df","initValue":null},{"@type":"Input","name":"username","id":"id_630d811b_5841_4a32_8311_27b08514a423","prompt":"please enter username"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"password","lengthValue2":"5","id":"id_450d32eb_fb8a_4e78_b693_6d0494e0af33","initValue":null},{"@type":"Input","name":"password","id":"id_ef533cc6_5918_4c59_bc0e_41bef0326cad","prompt":"please enter password"},{"newline":true,"@type":"Output","id":"id_1bf58811_f94d_4a5b_b93a_8b4d0288f6fc","value":"\"account created\""},{"newline":true,"@type":"Output","id":"id_a428cf0f_138b_4f9e_9855_cd6bfdabef8a","value":"\"login with account\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"testusername","lengthValue2":"5","id":"id_5cbdeb91_ad0e_482e_864c_4ab42c7c5ddd","initValue":null},{"@type":"Input","name":"testusername","id":"id_3bcc9615_22d5_44a5_865c_38b8ad425b81","prompt":"please enter username"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"testpassword","lengthValue2":"5","id":"id_97007799_56c7_4d8b_affc_647b5e6293ce","initValue":null},{"@type":"Input","name":"testpassword","id":"id_f148eea7_40bf_46d1_a1e1_934f1e94e7e5","prompt":"enter password"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_62e5e028_b07f_4ba8_901d_bb30df0c8482","value":"\"username \"cannot be found"}],"id":"id_e4e5fb8f_47bb_49dc_b155_d41495d24e2d"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5e54d49c_ba60_4084_b118_edbb2800bc80","value":"\"login failed\""}],"id":"id_36dd5bc6_29f2_4138_a410_0f731998af7d"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b1470329_9e75_488e_9eb8_c9a766f81f80","value":"\"login susscefull\""}],"id":"id_3946ec55_40bc_4730_a500_d1f6d5404105"},"condition":"password == testpassword","@type":"If","id":"id_86e1bca1_99da_4d0f_9472_21bdf45c6355"}],"id":"id_bf7eb6b2_6f20_44df_ba96_37dc55906ac5"},"condition":"username == testusername","@type":"If","id":"id_11c433b5_0355_41eb_843c_5ec0011d9c7c"},{"@type":"Return","id":"id_18e0f614_ac1d_402e_96e1_325ace5034fd","maybeValue":null}],"parameters":[]},"id":"id_898f5682_ef5e_49b2_a5c9_49a9c586f892","config":{"showDebugVars":false,"useInputPrompt":true,"echoEnteredValue":false,"showIoBtns":false,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":548}