close

Input Box

 

e.g 

MESSAGE = 'Please choose a connection host.'#13#13 
strconcat MESSAGE ' 1 - AAA (192.168.1.1)'#13 
strconcat MESSAGE ' 2 - BBB (192.168.1.2)'#13 
strconcat MESSAGE ' 3 - CCC (192.168.1.3)' 
inputbox MESSAGE 'Connection host choice'
str2int HOSTNUMB inputstr

如果要看input 的值的話,可以加上這行

messagebox inputstr 'inputstr'

 

說明 (https://zh.wikipedia.org/zh-tw/ASCII)

“#13”部分代表ASCII "回車" CR

“#10”部分代表ASCII "換行 " LF

  "#0" - 空字符

  "#9" - (水平)TAB

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 Careysky 的頭像
    Careysky

    Carey's Dream Travel

    Careysky 發表在 痞客邦 留言(0) 人氣()