{"id":136010,"student_id":104,"content":"{\"files\":{\"src/appinventor/ai_appinventor/ANS304/Screen1.bky\":\"\\u003cxml xmlns=\\\"http://www.w3.org/1999/xhtml\\\"\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"kf?ECn5\\\\!MDy#:mi\\\\!b5``\\\" x=\\\"0\\\" y=\\\"0\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003elist\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\".!pX@e\\\\!N3m0@uNWrzY+R\\\"\\u003e\\n \\u003cmutation items=\\\"0\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"?zLOT2:Nngq\\\\!]s`y\\\\!n*n\\\" x=\\\"0\\\" y=\\\"53\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003etype\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\"o]Ar+$zZFhnVq:*Ex9x(\\\"\\u003e\\n \\u003cmutation items=\\\"5\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"ADD0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"VXyU8HzW?}5vvsr6x-Hf\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e請選擇\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD1\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"A@rD77Nc]0/zC0vY8h!e\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e其他\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD2\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"x1tV=vKr-2haQ?xuO{=9\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e早餐\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD3\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"aNM:5z-z72RzNShJ/Fn$\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e午餐\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD4\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"/)crIv)hec5WZ87Wq3Er\\\"\\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 \\u003cblock type=\\\"component_event\\\" id=\\\"`X`I-%.SC6_Pb`haex8U\\\" x=\\\"0\\\" y=\\\"210\\\"\\u003e\\n \\u003cmutation component_type=\\\"Form\\\" instance_name=\\\"Screen1\\\" event_name=\\\"Initialize\\\"\\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=\\\"2t3BFXy*[]w;HeO5Ji/b\\\"\\u003e\\n \\u003cmutation component_type=\\\"Spinner\\\" set_or_get=\\\"set\\\" property_name=\\\"Elements\\\" is_generic=\\\"false\\\" instance_name=\\\"Spinner_type\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eSpinner_type\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eElements\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"w@A97p$z8XmFKd%C!Iy3\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal type\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"=[sIvTd03[5*Gq(]rw\\\\!.\\\"\\u003e\\n \\u003cmutation component_type=\\\"Spinner\\\" set_or_get=\\\"set\\\" property_name=\\\"Selection\\\" is_generic=\\\"false\\\" instance_name=\\\"Spinner_type\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eSpinner_type\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelection\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"`PchJ[+.}0AnH-3U\\\\!#`.\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eEQ\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"m-BP\\\\!!4@BLLE[W$HGucW\\\"\\u003e\\n \\u003cmutation component_type=\\\"Spinner\\\" set_or_get=\\\"get\\\" property_name=\\\"SelectionIndex\\\" is_generic=\\\"false\\\" instance_name=\\\"Spinner_type\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eSpinner_type\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelectionIndex\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"=GidPAYNl;,kfLhy*H;}\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e1\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"8F0(@]7M6FL?WG!v5w=O\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal list\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"vL1MA9.+E[sl0lOgWo;o\\\"\\u003e\\n \\u003cmutation component_type=\\\"TinyDB\\\" method_name=\\\"GetValue\\\" is_generic=\\\"false\\\" instance_name=\\\"TinyDB1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTinyDB1\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"OMwN%,*blJO=+VL]5d~~\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003edata\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ARG1\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\"3=|h%uxXQl8[dbUaihMA\\\"\\u003e\\n \\u003cmutation items=\\\"0\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"t0fvz)ShG*#).[L\\\\!ae-\\\\!\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"data\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003edata\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"/TAj*H_^Qw)!|M3s?,;}\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal list\\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/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"92;5W$ou\\\\!$^2Y)1+f3we\\\" x=\\\"0\\\" y=\\\"441\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003eprocedure\\u003c/field\\u003e\\n \\u003ccomment pinned=\\\"false\\\" h=\\\"42\\\" w=\\\"212\\\"\\u003e取出資料庫資料,並以Label顯示\\u003c/comment\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"97=E;LNBg@.}?0Y++5z-\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal list\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lists_create_with\\\" id=\\\"Ku?1Jp2}uqfv74*~Gr4l\\\"\\u003e\\n \\u003cmutation items=\\\"0\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"KEgM.`d4z/8JKj(Agjbo\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"data\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003edata\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"dCOz7inEDV0POqr,Mb5Y\\\"\\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 \\u003cblock type=\\\"component_event\\\" id=\\\"^MwHHq~XVvkJ.RzGD3h{\\\" x=\\\"0\\\" y=\\\"559\\\"\\u003e\\n \\u003cmutation component_type=\\\"Button\\\" instance_name=\\\"Button_clear\\\" event_name=\\\"Click\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eButton_clear\\u003c/field\\u003e\\n \\u003ccomment pinned=\\\"false\\\" h=\\\"36\\\" w=\\\"190\\\"\\u003e清空 TinyDB 元件內的資料\\u003c/comment\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"YPN$^MQH($ys($!)G89H\\\"\\u003e\\n \\u003cmutation component_type=\\\"TinyDB\\\" method_name=\\\"ClearAll\\\" is_generic=\\\"false\\\" instance_name=\\\"TinyDB1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTinyDB1\\u003c/field\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"procedures_callnoreturn\\\" id=\\\"OmtX%0J]ScX@}bQ.[e6)\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation name=\\\"procedure\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"PROCNAME\\\"\\u003eprocedure\\u003c/field\\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=\\\"(x4b9Lwh#pbVtZc#?%2v\\\" x=\\\"0\\\" y=\\\"677\\\"\\u003e\\n \\u003cmutation component_type=\\\"Button\\\" instance_name=\\\"Button_save\\\" event_name=\\\"Click\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eButton_save\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"[sMHYo}+uWg7#zCeKg1S\\\"\\u003e\\n \\u003cmutation else=\\\"1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"-/Q);xA(0I)qT-wDAvsG\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eEQ\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"*2Gx:Oy~uX~OhCTP:Kde\\\"\\u003e\\n \\u003cmutation component_type=\\\"Spinner\\\" set_or_get=\\\"get\\\" property_name=\\\"SelectionIndex\\\" is_generic=\\\"false\\\" instance_name=\\\"Spinner_type\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eSpinner_type\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelectionIndex\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"H/q*8URe6uPa*[W--KQN\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e1\\u003c/field\\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=\\\"component_method\\\" id=\\\"l]]/8]cL^~1YNy3LOkVg\\\"\\u003e\\n \\u003cmutation component_type=\\\"Notifier\\\" method_name=\\\"ShowAlert\\\" is_generic=\\\"false\\\" instance_name=\\\"Notifier1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eNotifier1\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"U1j!p6;,hSX~N;:Hl9(7\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e請選擇類別\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003cstatement name=\\\"ELSE\\\"\\u003e\\n \\u003cblock type=\\\"lists_add_items\\\" id=\\\"!^a}8q^-KLRncAV)!d2o\\\"\\u003e\\n \\u003cmutation items=\\\"1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"LIST\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"5Uh9zxh~Y_Sj?%p.qGCx\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal list\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ITEM0\\\"\\u003e\\n \\u003cblock type=\\\"text_join\\\" id=\\\")QO,*#)jqM]+Wbe6V[\\\\!q\\\"\\u003e\\n \\u003cmutation items=\\\"8\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"ADD0\\\"\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"4`8P5=CX,uT*/Q~k{4;8\\\"\\u003e\\n \\u003cmutation component_type=\\\"Clock\\\" method_name=\\\"FormatDate\\\" is_generic=\\\"false\\\" instance_name=\\\"Clock1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eClock1\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"wDP5iksJ#LHC{Zx[v`Nt\\\"\\u003e\\n \\u003cmutation component_type=\\\"Clock\\\" method_name=\\\"Now\\\" is_generic=\\\"false\\\" instance_name=\\\"Clock1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eClock1\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ARG1\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"t}bu$E1QW#oH/lbt-vda\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003eMMM d, yyyy\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD1\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"i;FoQ{La`19X5^fPMYpo\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e,\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD2\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"o?]1\\\\!PBxO@5~6KAnf{tI\\\"\\u003e\\n \\u003cmutation component_type=\\\"Spinner\\\" set_or_get=\\\"get\\\" property_name=\\\"Selection\\\" is_generic=\\\"false\\\" instance_name=\\\"Spinner_type\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eSpinner_type\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eSelection\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD3\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\";V1OMuv[jqf%q89dW32l\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e,\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD4\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"CJIxO}g%.!mT/}I$NS7d\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox_detail\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox_detail\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD5\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"Q^fk~)jddbFOPk,jlsVO\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e,\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD6\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"Q,XxTDDZ}ueeu6cm,S{N\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox_money\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox_money\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD7\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"R=Nt]O$n;MFns$sGj[}(\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\\\n\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"s_^FQZibQ,sl0$8UFlVz\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"data\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003edata\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"afQy01_-}!atDW7QP*-m\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal list\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"!Dsqk6z2K9cI1m%IyYEH\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox_detail\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox_detail\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"fPu=lR.X_#+PJZq}L[pW\\\"\\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=\\\"Dn-Bj:W:x#@7\\\\!RwMc{3u\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox_money\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox_money\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"UG*qy[_7{n)rR8`dpGHV\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"\\\\!CX#\\\\!Sp{pKjHencW2nD5\\\"\\u003e\\n \\u003cmutation component_type=\\\"Notifier\\\" method_name=\\\"ShowAlert\\\" is_generic=\\\"false\\\" instance_name=\\\"Notifier1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eNotifier1\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"inK6ecMS5S#]W^I:?^.d\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e儲存成功\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"FN5^*laeAj@v8vN`uwH$\\\"\\u003e\\n \\u003cmutation component_type=\\\"TinyDB\\\" method_name=\\\"StoreValue\\\" is_generic=\\\"false\\\" instance_name=\\\"TinyDB1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTinyDB1\\u003c/field\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"K(3p_N2c=r\\\\!~95Cbj^yS\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003edata\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ARG1\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"^~?i-tHYN`^Gcwx.b61c\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal list\\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/next\\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 \\u003cyacodeblocks ya-version=\\\"167\\\" language-version=\\\"21\\\"\\u003e\\u003c/yacodeblocks\\u003e\\n\\u003c/xml\\u003e\",\"src/appinventor/ai_appinventor/ANS304/Screen1.scm\":\"#|\\n$JSON\\n{\\\"authURL\\\":[\\\"localhost\\\",\\\"koding.school\\\"],\\\"YaVersion\\\":\\\"167\\\",\\\"Source\\\":\\\"Form\\\",\\\"Properties\\\":{\\\"$Name\\\":\\\"Screen1\\\",\\\"$Type\\\":\\\"Form\\\",\\\"$Version\\\":\\\"23\\\",\\\"AppName\\\":\\\"ANS304\\\",\\\"Scrollable\\\":\\\"True\\\",\\\"Title\\\":\\\"Screen1\\\",\\\"Uuid\\\":\\\"0\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"HorizontalArrangement1\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"389754230\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Label1\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Text\\\":\\\"\\\\u985e\\\\u5225\\\\uff1a\\\",\\\"Uuid\\\":\\\"1734557635\\\"},{\\\"$Name\\\":\\\"Spinner_type\\\",\\\"$Type\\\":\\\"Spinner\\\",\\\"$Version\\\":\\\"1\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"147092039\\\"}]},{\\\"$Name\\\":\\\"HorizontalArrangement2\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"151638761\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Label2\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Text\\\":\\\"\\\\u660e\\\\u7d30\\\\uff1a\\\",\\\"Uuid\\\":\\\"1620158899\\\"},{\\\"$Name\\\":\\\"TextBox_detail\\\",\\\"$Type\\\":\\\"TextBox\\\",\\\"$Version\\\":\\\"5\\\",\\\"Width\\\":\\\"-2\\\",\\\"Hint\\\":\\\"\\\\u6587\\\\u5b57\\\\u65b9\\\\u584a1\\\\u63d0\\\\u793a\\\",\\\"NumbersOnly\\\":\\\"True\\\",\\\"Uuid\\\":\\\"1853845721\\\"}]},{\\\"$Name\\\":\\\"HorizontalArrangement3\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"-993263505\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Label3\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Text\\\":\\\"\\\\u91d1\\\\u984d\\\\uff1a\\\",\\\"Uuid\\\":\\\"-2042634739\\\"},{\\\"$Name\\\":\\\"TextBox_money\\\",\\\"$Type\\\":\\\"TextBox\\\",\\\"$Version\\\":\\\"5\\\",\\\"Width\\\":\\\"-2\\\",\\\"Hint\\\":\\\"\\\\u6587\\\\u5b57\\\\u65b9\\\\u584a2\\\\u63d0\\\\u793a\\\",\\\"NumbersOnly\\\":\\\"True\\\",\\\"Uuid\\\":\\\"1508210946\\\"}]},{\\\"$Name\\\":\\\"HorizontalArrangement4\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"-692595812\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Button_save\\\",\\\"$Type\\\":\\\"Button\\\",\\\"$Version\\\":\\\"6\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Width\\\":\\\"-2\\\",\\\"Text\\\":\\\"\\\\u5132\\\\u5b58\\\",\\\"Uuid\\\":\\\"-1125244164\\\"},{\\\"$Name\\\":\\\"Button_clear\\\",\\\"$Type\\\":\\\"Button\\\",\\\"$Version\\\":\\\"6\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Width\\\":\\\"-2\\\",\\\"Text\\\":\\\"\\\\u6e05\\\\u7a7a\\\",\\\"Uuid\\\":\\\"239921770\\\"}]},{\\\"$Name\\\":\\\"data\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Uuid\\\":\\\"-292680690\\\"},{\\\"$Name\\\":\\\"Notifier1\\\",\\\"$Type\\\":\\\"Notifier\\\",\\\"$Version\\\":\\\"4\\\",\\\"Uuid\\\":\\\"1277601160\\\"},{\\\"$Name\\\":\\\"Clock1\\\",\\\"$Type\\\":\\\"Clock\\\",\\\"$Version\\\":\\\"3\\\",\\\"Uuid\\\":\\\"204838943\\\"},{\\\"$Name\\\":\\\"TinyDB1\\\",\\\"$Type\\\":\\\"TinyDB\\\",\\\"$Version\\\":\\\"1\\\",\\\"Uuid\\\":\\\"1316865002\\\"}]}}\\n|#\",\"src/appinventor/ai_appinventor/ANS304/Screen1.yail\":\"#|\\n$Source $Yail\\n|#\\n\\n(define-form appinventor.ai_appinventor.ANS304.Screen1 Screen1)\\n(require \\u003ccom.google.youngandroid.runtime\\u003e)\\n\\n(def g$list (call-yail-primitive make-yail-list (*list-for-runtime* ) '() \\\"make a list\\\"))\\n(def g$type (call-yail-primitive make-yail-list (*list-for-runtime* \\\"\\\\u8acb\\\\u9078\\\\u64c7\\\" \\\"\\\\u5176\\\\u4ed6\\\" \\\"\\\\u65e9\\\\u9910\\\" \\\"\\\\u5348\\\\u9910\\\" \\\"\\\\u665a\\\\u9910\\\" ) '(any any any any any ) \\\"make a list\\\"))\\n(def (p$procedure ) (set-var! g$list (call-yail-primitive make-yail-list (*list-for-runtime* ) '() \\\"make a list\\\"))(set-and-coerce-property! 'data 'Text \\\"\\\" 'text))\\n;;; Screen1\\n\\n(do-after-form-creation (set-and-coerce-property! 'Screen1 'AppName \\\"ANS304\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'Scrollable #t 'boolean)\\n (set-and-coerce-property! 'Screen1 'Title \\\"\\\\u8a18\\\\u5e33\\\\u672c\\\" 'text)\\n)\\n\\n(define-event Screen1 Initialize()(set-this-form)\\n (set-and-coerce-property! 'Spinner_type 'Elements (get-var g$type) 'list)(set-and-coerce-property! 'Spinner_type 'Selection (call-yail-primitive yail-equal? (*list-for-runtime* (get-property 'Spinner_type 'SelectionIndex) 1) '(any any) \\\"=\\\") 'text)(set-var! g$list (call-component-method 'TinyDB1 'GetValue (*list-for-runtime* \\\"data\\\" (call-yail-primitive make-yail-list (*list-for-runtime* ) '() \\\"make a list\\\")) '(text any)))(set-and-coerce-property! 'data 'Text (get-var g$list) 'text))\\n;;; HorizontalArrangement1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.HorizontalArrangement HorizontalArrangement1 \\n(set-and-coerce-property! 'HorizontalArrangement1 'Width -2 'number)\\n\\n)\\n\\n;;; Label1\\n\\n(add-component HorizontalArrangement1 com.google.appinventor.components.runtime.Label Label1 \\n(set-and-coerce-property! 'Label1 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Label1 'Text \\\"\\\\u985e\\\\u5225:\\\" 'text)\\n\\n)\\n\\n;;; Spinner_type\\n\\n(add-component HorizontalArrangement1 com.google.appinventor.components.runtime.Spinner Spinner_type \\n(set-and-coerce-property! 'Spinner_type 'Width -2 'number)\\n\\n)\\n\\n;;; HorizontalArrangement2\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.HorizontalArrangement HorizontalArrangement2 \\n(set-and-coerce-property! 'HorizontalArrangement2 'Width -2 'number)\\n\\n)\\n\\n;;; Label2\\n\\n(add-component HorizontalArrangement2 com.google.appinventor.components.runtime.Label Label2 \\n(set-and-coerce-property! 'Label2 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Label2 'Text \\\"\\\\u660e\\\\u7d30:\\\" 'text)\\n\\n)\\n\\n;;; TextBox_detail\\n\\n(add-component HorizontalArrangement2 com.google.appinventor.components.runtime.TextBox TextBox_detail \\n(set-and-coerce-property! 'TextBox_detail 'Width -2 'number)\\n\\n(set-and-coerce-property! 'TextBox_detail 'Hint \\\"\\\\u6587\\\\u5b57\\\\u65b9\\\\u584a1\\\\u63d0\\\\u793a\\\" 'text)\\n\\n(set-and-coerce-property! 'TextBox_detail 'NumbersOnly #t 'boolean)\\n\\n)\\n\\n;;; HorizontalArrangement3\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.HorizontalArrangement HorizontalArrangement3 \\n(set-and-coerce-property! 'HorizontalArrangement3 'Width -2 'number)\\n\\n)\\n\\n;;; Label3\\n\\n(add-component HorizontalArrangement3 com.google.appinventor.components.runtime.Label Label3 \\n(set-and-coerce-property! 'Label3 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Label3 'Text \\\"\\\\u91d1\\\\u984d:\\\" 'text)\\n\\n)\\n\\n;;; TextBox_money\\n\\n(add-component HorizontalArrangement3 com.google.appinventor.components.runtime.TextBox TextBox_money \\n(set-and-coerce-property! 'TextBox_money 'Width -2 'number)\\n\\n(set-and-coerce-property! 'TextBox_money 'Hint \\\"\\\\u6587\\\\u5b57\\\\u65b9\\\\u584a2\\\\u63d0\\\\u793a\\\" 'text)\\n\\n(set-and-coerce-property! 'TextBox_money 'NumbersOnly #t 'boolean)\\n\\n)\\n\\n;;; HorizontalArrangement4\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.HorizontalArrangement HorizontalArrangement4 \\n(set-and-coerce-property! 'HorizontalArrangement4 'Width -2 'number)\\n\\n)\\n\\n;;; Button_save\\n\\n(add-component HorizontalArrangement4 com.google.appinventor.components.runtime.Button Button_save \\n(set-and-coerce-property! 'Button_save 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Button_save 'Width -2 'number)\\n\\n(set-and-coerce-property! 'Button_save 'Text \\\"\\\\u5132\\\\u5b58\\\" 'text)\\n\\n)\\n\\n(define-event Button_save Click()(set-this-form)\\n (if (call-yail-primitive yail-equal? (*list-for-runtime* (get-property 'Spinner_type 'SelectionIndex) 1) '(any any) \\\"=\\\") (begin (call-component-method 'Notifier1 'ShowAlert (*list-for-runtime* \\\"\\\\u8acb\\\\u9078\\\\u64c7\\\\u985e\\\\u5225\\\") '(text))) (begin (call-yail-primitive yail-list-add-to-list! (*list-for-runtime* (get-var g$list) (call-yail-primitive string-append (*list-for-runtime* (call-component-method 'Clock1 'FormatDate (*list-for-runtime* (call-component-method 'Clock1 'Now (*list-for-runtime*) '()) \\\"MMM d, yyyy\\\") '(InstantInTime text)) \\\",\\\" (get-property 'Spinner_type 'Selection) \\\",\\\" (get-property 'TextBox_detail 'Text) \\\",\\\" (get-property 'TextBox_money 'Text) \\\"\\\\n\\\" ) '(text text text text text text text text ) \\\"join\\\") ) '(list any ) \\\"add items to list\\\")(set-and-coerce-property! 'data 'Text (get-var g$list) 'text)(set-and-coerce-property! 'TextBox_detail 'Text \\\"\\\" 'text)(set-and-coerce-property! 'TextBox_money 'Text \\\"\\\" 'text)(call-component-method 'Notifier1 'ShowAlert (*list-for-runtime* \\\"\\\\u5132\\\\u5b58\\\\u6210\\\\u529f\\\") '(text))(call-component-method 'TinyDB1 'StoreValue (*list-for-runtime* \\\"data\\\" (get-var g$list)) '(text any)))))\\n;;; Button_clear\\n\\n(add-component HorizontalArrangement4 com.google.appinventor.components.runtime.Button Button_clear \\n(set-and-coerce-property! 'Button_clear 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Button_clear 'Width -2 'number)\\n\\n(set-and-coerce-property! 'Button_clear 'Text \\\"\\\\u6e05\\\\u7a7a\\\" 'text)\\n\\n)\\n\\n(define-event Button_clear Click()(set-this-form)\\n (call-component-method 'TinyDB1 'ClearAll (*list-for-runtime*) '())((get-var p$procedure) ))\\n;;; data\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Label data \\n(set-and-coerce-property! 'data 'FontSize 20 'number)\\n\\n)\\n\\n;;; Notifier1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Notifier Notifier1 \\n)\\n\\n;;; Clock1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Clock Clock1 \\n)\\n\\n;;; TinyDB1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.TinyDB TinyDB1 \\n)\\n\\n(init-runtime)\"},\"settings\":\"{\\\"SimpleSettings\\\":{\\\"AccentColor\\\":\\\"\\u0026HFFFF4081\\\",\\\"ActionBar\\\":\\\"False\\\",\\\"AppName\\\":\\\"ANS304\\\",\\\"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-22T00:25:30.157+08:00","updated_at":"2020-03-22T00:26:00.078+08:00","name":"ANS304","language":"appinventor","screenshot":{"url":null},"parent_id":null,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":104,"hashid":"rdvsyygy","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
到這台電腦