logo
  • 教程列表
  • SO官方文檔
  • InputBox
    • 使用 InputBox 將使用者輸入分配給字串
  1. StackOverflow 文件
  2. vbscript 教程
  3. InputBox
  4. 使用 InputBox 將使用者輸入分配給字串

使用 InputBox 將使用者輸入分配給字串

Created: November-22, 2018

' Omitting the 4th and 5th argument ("xpos" and "ypos") will result in the prompt
' being display center of the parent screen

exampleString = InputBox("What is your name?", "Name Check", "Jon Skeet", 2500, 2000)

WScript.Echo "Your name is " & exampleString
  • InputBox

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明