{"id":131406,"student_id":1931,"content":"{\"files\":{\"src/appinventor/ai_appinventor/IND101/Screen1.scm\":\"#|\\n$JSON\\n{\\\"authURL\\\":[\\\"localhost\\\",\\\"koding.school\\\"],\\\"YaVersion\\\":\\\"167\\\",\\\"Source\\\":\\\"Form\\\",\\\"Properties\\\":{\\\"$Name\\\":\\\"Screen1\\\",\\\"$Type\\\":\\\"Form\\\",\\\"$Version\\\":\\\"23\\\",\\\"AppName\\\":\\\"IND101\\\",\\\"Title\\\":\\\"Screen1\\\",\\\"Uuid\\\":\\\"0\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Label1\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"20\\\",\\\"HasMargins\\\":\\\"False\\\",\\\"Height\\\":\\\"50\\\",\\\"Width\\\":\\\"-2\\\",\\\"Text\\\":\\\"\\\\u8a08\\\\u7b97\\\\u4f60\\\\/\\\\u59b3\\\\u7684 BMI \\\\u503c\\\",\\\"TextAlignment\\\":\\\"1\\\",\\\"Uuid\\\":\\\"343406841\\\"},{\\\"$Name\\\":\\\"\\\\u6c34\\\\u5e73\\\\u914d\\\\u7f6e1\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"-321685560\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Label_Gender\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"20\\\",\\\"HasMargins\\\":\\\"False\\\",\\\"Text\\\":\\\"\\\\u6027\\\\u5225:\\\",\\\"Uuid\\\":\\\"171892268\\\"},{\\\"$Name\\\":\\\"CheckBox_Male\\\",\\\"$Type\\\":\\\"CheckBox\\\",\\\"$Version\\\":\\\"2\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Text\\\":\\\"\\\\u7537\\\\u6027\\\",\\\"Uuid\\\":\\\"-1871400233\\\"},{\\\"$Name\\\":\\\"CheckBox_Female\\\",\\\"$Type\\\":\\\"CheckBox\\\",\\\"$Version\\\":\\\"2\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Text\\\":\\\"\\\\u5973\\\\u6027\\\",\\\"Uuid\\\":\\\"-260914073\\\"}]},{\\\"$Name\\\":\\\"\\\\u6c34\\\\u5e73\\\\u914d\\\\u7f6e2\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"222456540\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Label_Height\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"20\\\",\\\"HasMargins\\\":\\\"False\\\",\\\"Height\\\":\\\"40\\\",\\\"Text\\\":\\\"\\\\u8eab\\\\u9ad8(m):\\\",\\\"Uuid\\\":\\\"-255029496\\\"},{\\\"$Name\\\":\\\"TextBox_Height\\\",\\\"$Type\\\":\\\"TextBox\\\",\\\"$Version\\\":\\\"5\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Hint\\\":\\\"\\\\u8acb\\\\u8f38\\\\u5165\\\\u8eab\\\\u9ad8\\\",\\\"NumbersOnly\\\":\\\"True\\\",\\\"Uuid\\\":\\\"-1629220962\\\"}]},{\\\"$Name\\\":\\\"\\\\u6c34\\\\u5e73\\\\u914d\\\\u7f6e3\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"1057728992\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Label_Weight\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"20\\\",\\\"HasMargins\\\":\\\"False\\\",\\\"Height\\\":\\\"40\\\",\\\"Text\\\":\\\"\\\\u9ad4\\\\u91cd(kg):\\\",\\\"Uuid\\\":\\\"-1078564730\\\"},{\\\"$Name\\\":\\\"TextBox_Weight\\\",\\\"$Type\\\":\\\"TextBox\\\",\\\"$Version\\\":\\\"5\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Hint\\\":\\\"\\\\u8acb\\\\u8f38\\\\u5165\\\\u9ad4\\\\u91cd\\\",\\\"NumbersOnly\\\":\\\"True\\\",\\\"Uuid\\\":\\\"1474059772\\\"}]},{\\\"$Name\\\":\\\"Button1\\\",\\\"$Type\\\":\\\"Button\\\",\\\"$Version\\\":\\\"6\\\",\\\"FontSize\\\":\\\"25\\\",\\\"Text\\\":\\\"\\\\u8a08\\\\u7b97\\\",\\\"Uuid\\\":\\\"-2106904969\\\"}]}}\\n|#\",\"src/appinventor/ai_appinventor/IND101/Screen1.bky\":\"\\u003cxml xmlns=\\\"http://www.w3.org/1999/xhtml\\\"\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"T8+EjY7SGH;~N?;9I:[]\\\" x=\\\"0\\\" y=\\\"0\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003egender\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"uDDW7hR;^U0Y@cz6$g!c\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003eM\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"F-9(2w$V3\\\\!f:0JR{0%Wk\\\" x=\\\"0\\\" y=\\\"53\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003eBMI\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"eB`rU:\\\\!?n%y^L^R+,Q\\\\!Z\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e0\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"OgP#zgg8d6gxn*CDZxNL\\\" x=\\\"0\\\" y=\\\"106\\\"\\u003e\\n \\u003cmutation component_type=\\\"Button\\\" instance_name=\\\"Button1\\\" event_name=\\\"Click\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eButton1\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"KMqSJUCSHSvsgMsU*Rv1\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal BMI\\u003c/field\\u003e\\n \\u003ccomment pinned=\\\"false\\\" h=\\\"48\\\" w=\\\"108\\\"\\u003e計算 BMI 值\\u003c/comment\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"}Ma*?6[5:4uSs9zY?-IP\\\"\\u003e\\n \\u003ccomment pinned=\\\"false\\\" h=\\\"73\\\" w=\\\"212\\\"\\u003e開啟Screen2頁面\\\\uff0c將性別及BMI值傳送到Screen2頁面\\\\uff0c計算出BMI值\\u003c/comment\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"logic_operation\\\" id=\\\"+3L6xr,`^g}}.Ij-7)Q/\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eAND\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"}1xui^/gZ8%FWBMsj\\\\!K7\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eNEQ\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"yaP\\\\!aH=N{qM?F$gUA8M0\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox_Height\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox_Height\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"(S8-xqOm[{s72eG[GR\\\\!g\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"r+uns#Ap(t)=wJn-W\\\\!,-\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eNEQ\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"~_RQ0kHk@6BD{GI8oOV`\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox_Height\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox_Height\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"/k[4=d,1qY?#@1!~]i.Z\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO0\\\"\\u003e\\n \\u003cblock type=\\\"controls_openAnotherScreen\\\" id=\\\"`\\\\!cGS}?jLcN(X]e7p{vn\\\"\\u003e\\n \\u003cvalue name=\\\"SCREEN\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\",xAffnqP[oG%M4UZrbtE\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003eScreen2\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"6Svp]h_?5kF9Wtp@}MOD\\\" x=\\\"0\\\" y=\\\"336\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" instance_name=\\\"CheckBox_Male\\\" event_name=\\\"Changed\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Male\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"IW/\\\\!]Ejcj-HUgS#F1b3Z\\\"\\u003e\\n \\u003cmutation else=\\\"1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"=jsi`r:?:-fY%,AJfN)I\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Checked\\\" is_generic=\\\"false\\\" instance_name=\\\"CheckBox_Male\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Male\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eChecked\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO0\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"iXRb~k`5Y{gMMA@1m@g{\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Checked\\\" is_generic=\\\"false\\\" instance_name=\\\"CheckBox_Male\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Male\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eChecked\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"Gx,%UOFcmg?-fW]+C!sk\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"Vj[^}fO1Ge`5L[;hvpAc\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Checked\\\" is_generic=\\\"false\\\" instance_name=\\\"CheckBox_Female\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Female\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eChecked\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"Fpr#uvi%RsbsA),R/ape\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"51W/=QI(5y]4$.T#JJ:T\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal gender\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"Nwq}04BIL.4,$?RbDR]+\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003eM\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003cstatement name=\\\"ELSE\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"j4IJA51;p_gUc15)68Xh\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Checked\\\" is_generic=\\\"false\\\" instance_name=\\\"CheckBox_Male\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Male\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eChecked\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"\\\\!HG{@(t@6;YpV]]#)a17\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"*~bo*.3BVQ:G0f(i}_N{\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Checked\\\" is_generic=\\\"false\\\" instance_name=\\\"CheckBox_Female\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Female\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eChecked\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"fS9SPOu,^L#X1aF3F.H7\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"mVdbJKBj@MubJxhA,-,6\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal gender\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"9^\\\\!1ri~f7N?=G3/cG!zF\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003eF\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"6@Z,L~]%=2oK_zsd*#[8\\\" x=\\\"0\\\" y=\\\"611\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" instance_name=\\\"CheckBox_Female\\\" event_name=\\\"Changed\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Female\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"/2=0YBHWXB{c#%;DW6Ve\\\"\\u003e\\n \\u003cmutation else=\\\"1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"YiGirGa~f#Oag{c7d4O#\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Checked\\\" is_generic=\\\"false\\\" instance_name=\\\"CheckBox_Female\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Female\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eChecked\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO0\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"C6.TTUOLevX[,E;$*To_\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Checked\\\" is_generic=\\\"false\\\" instance_name=\\\"CheckBox_Male\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Male\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eChecked\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"~fv0`q%9YCSdn*Ypw@k6\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"`X`y%i]qXte88);q~,+S\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Checked\\\" is_generic=\\\"false\\\" instance_name=\\\"CheckBox_Female\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Female\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eChecked\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"(WPtthNiIS6lpBY5T*=*\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"zJ}wfA6p~JCV,0Ng$=/d\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal gender\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"X]G+pe$g~AhB\\\\!\\\\!Sz)7wk\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003eF\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003cstatement name=\\\"ELSE\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"`/Z9\\\\!-i\\\\!!6OGO64F7e(F\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Checked\\\" is_generic=\\\"false\\\" instance_name=\\\"CheckBox_Male\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Male\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eChecked\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"R?=S*=eg@m]aG}G;R_?L\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\";.mbLKkP)ieQLIO?+El=\\\"\\u003e\\n \\u003cmutation component_type=\\\"CheckBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Checked\\\" is_generic=\\\"false\\\" instance_name=\\\"CheckBox_Female\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eCheckBox_Female\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eChecked\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"eO3s\\\\!U9+/)OOP:Y\\\\!J//B\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"b!.rTOY4m9l*}*XE}wi!\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal gender\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"_;gi?zlCn\\\\!7U:XZ@;B}G\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003eM\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"gLYg1?8,/`?acK)p2$2}\\\" x=\\\"0\\\" y=\\\"886\\\"\\u003e\\n \\u003cmutation component_type=\\\"Form\\\" instance_name=\\\"Screen1\\\" event_name=\\\"OtherScreenClosed\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eScreen1\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"8lK%uT[4)(f`\\\\!Oxd_}o%\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox_Height\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox_Height\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"h32UPtnT9@.4tm\\\\!~p`=1\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"el?z#m)_Hw6I6v]Rm%J=\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox_Height\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox_Height\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"3;XS-ei!TnZnbJrK6I(\\\\!\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cyacodeblocks ya-version=\\\"167\\\" language-version=\\\"21\\\"\\u003e\\u003c/yacodeblocks\\u003e\\n\\u003c/xml\\u003e\",\"src/appinventor/ai_appinventor/IND101/Screen1.yail\":\"#|\\n$Source $Yail\\n|#\\n\\n(define-form appinventor.ai_appinventor.IND101.Screen1 Screen1)\\n(require \\u003ccom.google.youngandroid.runtime\\u003e)\\n\\n(def g$gender \\\"M\\\")\\n(def g$BMI 0)\\n;;; Screen1\\n\\n(do-after-form-creation (set-and-coerce-property! 'Screen1 'AppName \\\"IND101\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'Title \\\"Screen1\\\" 'text)\\n)\\n\\n(define-event Screen1 OtherScreenClosed($otherScreenName $result)(set-this-form)\\n (set-and-coerce-property! 'TextBox_Height 'Text \\\"\\\" 'text)(set-and-coerce-property! 'TextBox_Height 'Text \\\"\\\" 'text))\\n;;; Label1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Label Label1 \\n(set-and-coerce-property! 'Label1 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Label1 'HasMargins #f 'boolean)\\n\\n(set-and-coerce-property! 'Label1 'Height 50 'number)\\n\\n(set-and-coerce-property! 'Label1 'Width -2 'number)\\n\\n(set-and-coerce-property! 'Label1 'Text \\\"\\\\u8a08\\\\u7b97\\\\u4f60/\\\\u59b3\\\\u7684 BMI \\\\u503c\\\" 'text)\\n\\n(set-and-coerce-property! 'Label1 'TextAlignment 1 'number)\\n\\n)\\n\\n;;; Label_Gender\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Label Label_Gender \\n(set-and-coerce-property! 'Label_Gender 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Label_Gender 'HasMargins #f 'boolean)\\n\\n(set-and-coerce-property! 'Label_Gender 'Text \\\"\\\\u6027\\\\u5225:\\\" 'text)\\n\\n)\\n\\n;;; CheckBox_Male\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.CheckBox CheckBox_Male \\n(set-and-coerce-property! 'CheckBox_Male 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'CheckBox_Male 'Text \\\"\\\\u7537\\\\u6027\\\" 'text)\\n\\n)\\n\\n(define-event CheckBox_Male Changed()(set-this-form)\\n (if (get-property 'CheckBox_Male 'Checked) (begin (set-and-coerce-property! 'CheckBox_Male 'Checked #t 'boolean)(set-and-coerce-property! 'CheckBox_Female 'Checked #f 'boolean)(set-var! g$gender \\\"M\\\")) (begin (set-and-coerce-property! 'CheckBox_Male 'Checked #f 'boolean)(set-and-coerce-property! 'CheckBox_Female 'Checked #t 'boolean)(set-var! g$gender \\\"F\\\"))))\\n;;; CheckBox_Female\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.CheckBox CheckBox_Female \\n(set-and-coerce-property! 'CheckBox_Female 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'CheckBox_Female 'Text \\\"\\\\u5973\\\\u6027\\\" 'text)\\n\\n)\\n\\n(define-event CheckBox_Female Changed()(set-this-form)\\n (if (get-property 'CheckBox_Female 'Checked) (begin (set-and-coerce-property! 'CheckBox_Male 'Checked #f 'boolean)(set-and-coerce-property! 'CheckBox_Female 'Checked #t 'boolean)(set-var! g$gender \\\"F\\\")) (begin (set-and-coerce-property! 'CheckBox_Male 'Checked #t 'boolean)(set-and-coerce-property! 'CheckBox_Female 'Checked #f 'boolean)(set-var! g$gender \\\"M\\\"))))\\n;;; Label_Height\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Label Label_Height \\n(set-and-coerce-property! 'Label_Height 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Label_Height 'HasMargins #f 'boolean)\\n\\n(set-and-coerce-property! 'Label_Height 'Height 40 'number)\\n\\n(set-and-coerce-property! 'Label_Height 'Text \\\"\\\\u8eab\\\\u9ad8(m):\\\" 'text)\\n\\n)\\n\\n;;; TextBox_Height\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.TextBox TextBox_Height \\n(set-and-coerce-property! 'TextBox_Height 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'TextBox_Height 'Width -2 'number)\\n\\n(set-and-coerce-property! 'TextBox_Height 'Hint \\\"\\\\u8acb\\\\u8f38\\\\u5165\\\\u8eab\\\\u9ad8\\\" 'text)\\n\\n(set-and-coerce-property! 'TextBox_Height 'NumbersOnly #t 'boolean)\\n\\n)\\n\\n;;; Label_Weight\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Label Label_Weight \\n(set-and-coerce-property! 'Label_Weight 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Label_Weight 'HasMargins #f 'boolean)\\n\\n(set-and-coerce-property! 'Label_Weight 'Height 40 'number)\\n\\n(set-and-coerce-property! 'Label_Weight 'Text \\\"\\\\u9ad4\\\\u91cd(kg):\\\" 'text)\\n\\n)\\n\\n;;; TextBox_Weight\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.TextBox TextBox_Weight \\n(set-and-coerce-property! 'TextBox_Weight 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'TextBox_Weight 'Hint \\\"\\\\u8acb\\\\u8f38\\\\u5165\\\\u9ad4\\\\u91cd\\\" 'text)\\n\\n(set-and-coerce-property! 'TextBox_Weight 'NumbersOnly #t 'boolean)\\n\\n)\\n\\n;;; Button1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Button Button1 \\n(set-and-coerce-property! 'Button1 'FontSize 25 'number)\\n\\n(set-and-coerce-property! 'Button1 'Text \\\"\\\\u8a08\\\\u7b97\\\" 'text)\\n\\n)\\n\\n(define-event Button1 Click()(set-this-form)\\n (set-var! g$BMI 0)(if (and-delayed (call-yail-primitive yail-not-equal? (*list-for-runtime* (get-property 'TextBox_Height 'Text) \\\"\\\") '(any any) \\\"not =\\\") (call-yail-primitive yail-not-equal? (*list-for-runtime* (get-property 'TextBox_Height 'Text) \\\"\\\") '(any any) \\\"not =\\\")) (begin #f)))\\n(init-runtime)\"},\"settings\":\"{\\\"SimpleSettings\\\":{\\\"AccentColor\\\":\\\"\\u0026HFFFF4081\\\",\\\"ActionBar\\\":\\\"False\\\",\\\"AppName\\\":\\\"IND101\\\",\\\"Icon\\\":\\\"\\\",\\\"PhoneTablet\\\":\\\"False\\\",\\\"PrimaryColor\\\":\\\"\\u0026HFF3F51B5\\\",\\\"PrimaryColorDark\\\":\\\"\\u0026HFF303F9F\\\",\\\"ShowHiddenComponents\\\":\\\"False\\\",\\\"ShowListsAsJson\\\":\\\"False\\\",\\\"Sizing\\\":\\\"Fixed\\\",\\\"Theme\\\":\\\"Classic\\\",\\\"TutorialURL\\\":\\\"\\\",\\\"UsesLocation\\\":\\\"False\\\",\\\"VersionCode\\\":\\\"1\\\",\\\"VersionName\\\":\\\"1.0\\\"}}\"}","created_at":"2020-03-08T11:32:25.304+08:00","updated_at":"2020-03-08T11:36:07.145+08:00","name":"IND101","language":"appinventor","screenshot":{"url":null},"parent_id":127422,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":48,"hashid":"882sknzm","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦