{"id":136022,"student_id":104,"content":"{\"files\":{\"src/appinventor/ai_appinventor/ANS102/Screen1.bky\":\"\\u003cxml xmlns=\\\"http://www.w3.org/1999/xhtml\\\"\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"wUN-XQ:U7{Dg#ce8;QR~\\\" x=\\\"1\\\" y=\\\"4\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003efactor\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"DfrfT.YL]M`}!uQV#/$=\\\"\\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=\\\"U)JKb/5LHsh~PvEq(t=-\\\" x=\\\"0\\\" y=\\\"53\\\"\\u003e\\n \\u003cmutation component_type=\\\"Button\\\" instance_name=\\\"Button2\\\" event_name=\\\"Click\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eButton2\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"SD/U`}6+(:Ov,j8;eKl=\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"QFHs@^O}RyeZMo@D}7r7\\\"\\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=\\\"3Zp\\\\!py^MFGNE@:nneZC?\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"Label1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eLabel1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"Nq(VH!dEY-g-?Lqq8GbV\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"\\\\!%67@CO^-`4nY!E8XBzD\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal factor\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"]+/;$F_,UyV?i`zg4M[2\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e1\\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 \\u003cblock type=\\\"component_event\\\" id=\\\"U5:,)W@uFI.k9vEm-=\\\\!}\\\" x=\\\"0\\\" y=\\\"197\\\"\\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=\\\"controls_if\\\" id=\\\"^M`7TxJau]V^FIzZZF/f\\\"\\u003e\\n \\u003cmutation else=\\\"1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003ccomment pinned=\\\"false\\\" h=\\\"59\\\" w=\\\"152\\\"\\u003e判斷TextBox1輸入的內容\\u003c/comment\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"logic_or\\\" id=\\\"xA/g?m#,kJgUJCr~#:}8\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eOR\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"`07;~VkB=d%!k*5/1(-B\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eEQ\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"o`!+)z31jos(/YSsUVwM\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox1\\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=\\\";O3-$oR^pV1GVZ.TzDyy\\\"\\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=\\\"logic_or\\\" id=\\\"!pew5-DK%BL/tj`W))8Z\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eOR\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"zv/{3QibeN`:JD^UZF,3\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eNEQ\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"math_divide\\\" id=\\\"CIseJ+~%I+wRjh(f]$FE\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eREMAINDER\\u003c/field\\u003e\\n \\u003cvalue name=\\\"DIVIDEND\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"h_K\\\\!2(*UGw,)O]hbeIc`\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"DIVISOR\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\")+lhNnr$Dy#[vpw@z31f\\\"\\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 \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"]Ust64R_m!A4veGK-.2c\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e0\\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=\\\"1w7w:FNBi%Fo/gK/_\\\\!C{\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eLTE\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"s(u_9rI_$:%bEOpyiZ9L\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox1\\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=\\\"math_number\\\" id=\\\"ij7vGL6\\\\!*S}Ruyr]KIN_\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e0\\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 \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO0\\\"\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"Klre##a`1dmTIC$(neje\\\"\\u003e\\n \\u003cmutation component_type=\\\"Notifier\\\" method_name=\\\"ShowMessageDialog\\\" is_generic=\\\"false\\\" instance_name=\\\"Notifier1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eNotifier1\\u003c/field\\u003e\\n \\u003ccomment pinned=\\\"false\\\" h=\\\"78\\\" w=\\\"208\\\"\\u003e顯示錯誤訊息:\\n請勿輸入小數或小於等於零的數字清空TextBox及Label元件內文字\\n \\u003c/comment\\u003e\\n \\u003cvalue name=\\\"ARG0\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"R7b$,;RyYXIT!iFh_HrO\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e請勿輸入小數或小於等於零的數字\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ARG1\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"NW1@cK/w/+$V\\\\!f%OV7X5\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e錯誤\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ARG2\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"f4aT:Wyp*xQYvnyVG=8p\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003eOK\\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=\\\"controls_forRange\\\" id=\\\"aPrtMN);T=ZoV2TT0il*\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003e數字\\u003c/field\\u003e\\n \\u003cvalue name=\\\"START\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"5a{?[h-C.9_m4O{v^5K}\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e1\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"END\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"T910pNXkEmV$g!q@Mbt)\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"STEP\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"D%O~}rD3_=MK*D4KE0KZ\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e1\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"j@P\\\\!gtyJi(0;ki]x~:tD\\\"\\u003e\\n \\u003ccomment pinned=\\\"false\\\" h=\\\"38\\\" w=\\\"124\\\"\\u003e公因數判斷及累加\\u003c/comment\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"HJ06JUoc({xaHhF0o6-x\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eEQ\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"math_divide\\\" id=\\\"xbxB7VZgIQ\\\\!UAgtXm15s\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eREMAINDER\\u003c/field\\u003e\\n \\u003cvalue name=\\\"DIVIDEND\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"YSw3361bt-o8/Uw`uOH6\\\"\\u003e\\n \\u003cmutation component_type=\\\"TextBox\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"TextBox1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eTextBox1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"DIVISOR\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"h_,3AqE-1Kuqq$m7A!^O\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal factor\\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_number\\\" id=\\\"_KG.VfJo-E]\\\\!{/w,-Ytw\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e0\\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_set_get\\\" id=\\\"D}uVaE+sBX)TLC4~^ie?\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"Label1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eLabel1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text_join\\\" id=\\\"{X,P-cQEc%(wtz}8z`h_\\\"\\u003e\\n \\u003cmutation items=\\\"3\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"ADD0\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"W/nuYY8ZkzM]Um-m+Rx/\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"Label1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eLabel1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD1\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"[ZT2+yBxe%$sVD\\\\!WlWm}\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal factor\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"ADD2\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"WMv`C`,,(yOra941J(aC\\\"\\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/statement\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"rE%FM2Y~^dt}j:,KXn)}\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal factor\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_add\\\" id=\\\"YMX1:)g^4J]!CLE2tfB?\\\"\\u003e\\n \\u003cmutation items=\\\"2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"NUM0\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"#YCyV9*XvD6t/t1!*Tt:\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal factor\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM1\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"[iUiWT(=X:~[rSTy*$2b\\\"\\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 \\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 \\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/ANS102/Screen1.scm\":\"#|\\n$JSON\\n{\\\"authURL\\\":[\\\"localhost\\\",\\\"koding.school\\\"],\\\"YaVersion\\\":\\\"167\\\",\\\"Source\\\":\\\"Form\\\",\\\"Properties\\\":{\\\"$Name\\\":\\\"Screen1\\\",\\\"$Type\\\":\\\"Form\\\",\\\"$Version\\\":\\\"23\\\",\\\"AppName\\\":\\\"ANS102\\\",\\\"Title\\\":\\\"factor\\\",\\\"Uuid\\\":\\\"0\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"TextBox1\\\",\\\"$Type\\\":\\\"TextBox\\\",\\\"$Version\\\":\\\"5\\\",\\\"Width\\\":\\\"-2\\\",\\\"Hint\\\":\\\"\\\\u8acb\\\\u8f38\\\\u5165\\\\u8981\\\\u627e\\\\u51fa\\\\u56e0\\\\u6578\\\\u7684\\\\u6b63\\\\u6574\\\\u6578\\\",\\\"Uuid\\\":\\\"1539678000\\\"},{\\\"$Name\\\":\\\"\\\\u6c34\\\\u5e73\\\\u914d\\\\u7f6e1\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"67427643\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"Button1\\\",\\\"$Type\\\":\\\"Button\\\",\\\"$Version\\\":\\\"6\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Width\\\":\\\"-1050\\\",\\\"Text\\\":\\\"\\\\u8a08\\\\u7b97\\\",\\\"Uuid\\\":\\\"738248144\\\"},{\\\"$Name\\\":\\\"Button2\\\",\\\"$Type\\\":\\\"Button\\\",\\\"$Version\\\":\\\"6\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Width\\\":\\\"-1050\\\",\\\"Text\\\":\\\"\\\\u91cd\\\\u7f6e\\\",\\\"Uuid\\\":\\\"1679149840\\\"}]},{\\\"$Name\\\":\\\"Label1\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontSize\\\":\\\"20\\\",\\\"Uuid\\\":\\\"497439430\\\"},{\\\"$Name\\\":\\\"Notifier1\\\",\\\"$Type\\\":\\\"Notifier\\\",\\\"$Version\\\":\\\"4\\\",\\\"Uuid\\\":\\\"1992335902\\\"}]}}\\n|#\",\"src/appinventor/ai_appinventor/ANS102/Screen1.yail\":\"#|\\n$Source $Yail\\n|#\\n\\n(define-form appinventor.ai_appinventor.ANS102.Screen1 Screen1)\\n(require \\u003ccom.google.youngandroid.runtime\\u003e)\\n\\n(def g$factor 0)\\n;;; Screen1\\n\\n(do-after-form-creation (set-and-coerce-property! 'Screen1 'AppName \\\"ANS102\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'Title \\\"factor\\\" 'text)\\n)\\n\\n;;; TextBox1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.TextBox TextBox1 \\n(set-and-coerce-property! 'TextBox1 'Width -2 'number)\\n\\n(set-and-coerce-property! 'TextBox1 'Hint \\\"\\\\u8acb\\\\u8f38\\\\u5165\\\\u8981\\\\u627e\\\\u51fa\\\\u56e0\\\\u6578\\\\u7684\\\\u6b63\\\\u6574\\\\u6578\\\" 'text)\\n\\n)\\n\\n;;; 水平配置1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.HorizontalArrangement 水平配置1 \\n(set-and-coerce-property! '水平配置1 'Width -2 'number)\\n\\n)\\n\\n;;; Button1\\n\\n(add-component 水平配置1 com.google.appinventor.components.runtime.Button Button1 \\n(set-and-coerce-property! 'Button1 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Button1 'Width -1050 'number)\\n\\n(set-and-coerce-property! 'Button1 'Text \\\"\\\\u8a08\\\\u7b97\\\" 'text)\\n\\n)\\n\\n(define-event Button1 Click()(set-this-form)\\n (if (or-delayed (call-yail-primitive yail-equal? (*list-for-runtime* (get-property 'TextBox1 'Text) \\\"\\\") '(any any) \\\"=\\\") (or-delayed (call-yail-primitive yail-not-equal? (*list-for-runtime* (call-yail-primitive remainder (*list-for-runtime* (get-property 'TextBox1 'Text) 1) '(number number) \\\"remainder\\\") 0) '(any any) \\\"not =\\\") (call-yail-primitive \\u003c= (*list-for-runtime* (get-property 'TextBox1 'Text) 0) '(number number) \\\"\\u003c=\\\"))) (begin (call-component-method 'Notifier1 'ShowMessageDialog (*list-for-runtime* \\\"\\\\u8acb\\\\u52ff\\\\u8f38\\\\u5165\\\\u5c0f\\\\u6578\\\\u6216\\\\u5c0f\\\\u65bc\\\\u7b49\\\\u65bc\\\\u96f6\\\\u7684\\\\u6578\\\\u5b57\\\" \\\"\\\\u932f\\\\u8aa4\\\" \\\"OK\\\") '(text text text))) (begin (forrange $數字 (begin (if (call-yail-primitive yail-equal? (*list-for-runtime* (call-yail-primitive remainder (*list-for-runtime* (get-property 'TextBox1 'Text) (get-var g$factor)) '(number number) \\\"remainder\\\") 0) '(any any) \\\"=\\\") (begin (set-and-coerce-property! 'Label1 'Text (call-yail-primitive string-append (*list-for-runtime* (get-property 'Label1 'Text) (get-var g$factor) \\\",\\\" ) '(text text text ) \\\"join\\\") 'text)))(set-var! g$factor (call-yail-primitive + (*list-for-runtime* (get-var g$factor) 1 ) '(number number ) \\\"+\\\"))) 1 (get-property 'TextBox1 'Text) 1))))\\n;;; Button2\\n\\n(add-component 水平配置1 com.google.appinventor.components.runtime.Button Button2 \\n(set-and-coerce-property! 'Button2 'FontSize 20 'number)\\n\\n(set-and-coerce-property! 'Button2 'Width -1050 'number)\\n\\n(set-and-coerce-property! 'Button2 'Text \\\"\\\\u91cd\\\\u7f6e\\\" 'text)\\n\\n)\\n\\n(define-event Button2 Click()(set-this-form)\\n (set-and-coerce-property! 'TextBox1 'Text \\\"\\\" 'text)(set-and-coerce-property! 'Label1 'Text \\\"\\\" 'text)(set-var! g$factor 1))\\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)\\n\\n;;; Notifier1\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Notifier Notifier1 \\n)\\n\\n(init-runtime)\"},\"settings\":\"{\\\"SimpleSettings\\\":{\\\"AccentColor\\\":\\\"\\u0026HFFFF4081\\\",\\\"ActionBar\\\":\\\"False\\\",\\\"AppName\\\":\\\"ANS102\\\",\\\"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-22T09:10:57.592+08:00","updated_at":"2020-06-08T14:35:40.881+08:00","name":"ANS102","language":"appinventor","screenshot":{"url":null},"parent_id":127426,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":95,"hashid":"npmsvvqe","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
到這台電腦