劉任昌清單方塊ListBox與核取方塊CheckBox
期中考後追加補充
非巢狀
if (r) present("#FF0000");if (g) present("#00FF00");//沒有滿足(r)就執行
if (b) present("#0000FF");
巢狀
if (r) present("#FF0000");else if (g) present("#00FF00");//沒有滿足(r)就執行
else if (b) present("#0000FF");
else alert("豬頭你沒有選擇顏色");
期中考
紅色 綠色 藍色
粗體
輸出
留言
張貼留言