[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
用Call....Function语法代替
  1. Call str1("你好")
  2. MsgBox "继续"
  3. Call str2("你好吗")
  4. Function str1(text)
  5.    MsgBox text
  6. End Function
  7. MsgBox "再继续"
  8. Function str2(text)
  9.    If text <> "你好吗" Then
  10.       Exit Function
  11.       Else
  12.       MsgBox text
  13.    End If
  14. End Function
复制代码

TOP

返回列表