批踢踢實業坊
›
看板
Visual_Basic
關於我們
聯絡資訊
返回看板
作者
deju (呼雷)
看板
Visual_Basic
標題
[VB6 ] 判斷字串類別的敘述句....
時間
Sun May 11 02:27:05 2008
要做個簡單的小程式 用到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