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

  • 关于我们
  • 免责声明