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