1
我使用Visual Basic 2008EE和我有這個循環的一個問題:For循環曖昧
If x = CType("new", Primitive) Then
TextWindow.Write("How many new users would you like to add? ")
k = TextWindow.ReadNumber()
For mt = 1 To k
NewUserEntry()
Next
和我得到這個錯誤:
"type of 'mt' is ambigious because the loop bounds and the step clause do not convert to the same type"
我感謝所有幫助。
你確定這是VB而不是SmallBasic嗎? – Powerlord