Private Sub Command2_Click()
Dim Rn As Integer
Dim u As Integer
Dim es As Integer
Dim ea As Integer
Dim K As Integer
Dim Ht As Integer
Text5.Text = Rn
Text3.Text = u
Text4.Text = es
Text6.Text = ea
Text7.Text = K
Text8.Text = Ht
z = Rn + u + es + ea + K + Ht
Label8.Caption = z
End Sub
我這邊不管TEXT裡面怎麼打
他顯示出來的z(也就是label8)都是0耶...
可以請問一下 我哪邊弄錯了嗎?
另外我還想要問
if a>=b then
a=c
else
a=d
end if
我可以算出這邊
a變成c幾次?
跟
a變成d幾次嗎?
因為我這個本身是放在DO LOOP裡面(考慮用FOR NEXT...雖然兩個都不太懂 囧)
--
◢███◣ 真是太令我興奮了,教授BOY~~
█████
█▉◥█◤ 覆蓋一張空白考卷在桌上 結束這學期
██ ◤ \
◤◤╲╰┤ ㊣ justlasai
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.121.146.41
※ 編輯: MAGICXX 來自: 140.121.146.41 (04/15 13:25)
※ 編輯: MAGICXX 來自: 140.121.146.41 (04/15 13:29)