看板 Visual_Basic 關於我們 聯絡資訊
要做個簡單的小程式 用到inputbox 但是怕使用者輸入奇怪的字串 請問 判斷字串類別的敘述句指令是 就是 If A不為長整數或整數 than XXXX If (這段要怎麼打 ) than -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.224.44.186
mathlinka:if not(isnumeric(A) and Instr(1,A,".")>0) Then ... 05/11 11:35