• <sub id="h4knl"><ol id="h4knl"></ol></sub>
    <sup id="h4knl"></sup>
      <sub id="h4knl"></sub>

      <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
      1. <strong id="h4knl"></strong>

      2. 在VBScript中實現函數的方法

        時間:2024-07-08 12:02:44 VBScript 我要投稿
        • 相關推薦

        在VBScript中實現函數的方法

          在JS中有這種用法,某個函數名可以當成參數的形式,傳入到另外一個函數內部去,例如:

          在VBScript有兩種方式可以來實現,即用execute或GetRef函數。

          一、利用execute:

          FunctionmyFuncA(str,myFuncName)

          str=str&"您好!"

          execute("str="&myFuncName&"(str)")

          myFuncA=str

          EndFunction

          FunctionmyFuncB(str)

          str=str+"歡迎來到IECN.NET"

          myFuncB=str

          EndFunction

          msgboxmyFuncA("張三","myFuncB")

          二、利用GetRef:

          FunctionmyFuncA(str,myB)

          str=str&"您好!"

          str=myB(str)

          myFuncA=str

          EndFunction

          FunctionmyFuncB(str)

          str=str+"歡迎來到IECN.NET"

          myFuncB=str

          EndFunction

          document.write(myFuncA("張三",GetRef("myFuncB")))

        【在VBScript中實現函數的方法】相關文章:

        VBScript中字節數據操作函數06-20

        excel中if函數的使用方法10-24

        vlookup函數在Excel中的使用方法09-21

        Excel中vlookup函數使用方法02-17

        excel中now函數的使用方法05-25

        PHP中date函數常用時間處理方法09-13

        探討PHP函數的實現原理及性能07-07

        Inventor中用函數來實現運動模擬05-22

        實現硬盤raid的方法07-31

        SQL中的單記錄函數08-12

        国产高潮无套免费视频_久久九九兔免费精品6_99精品热6080YY久久_国产91久久久久久无码
      3. <sub id="h4knl"><ol id="h4knl"></ol></sub>
        <sup id="h4knl"></sup>
          <sub id="h4knl"></sub>

          <sub id="h4knl"><ol id="h4knl"><em id="h4knl"></em></ol></sub><s id="h4knl"></s>
          1. <strong id="h4knl"></strong>

          2. 天天看影视在线 | 亚洲国产欧美在线人成最新 | 中文字幕天堂资源网最新版 | 一区二区三区精品视频精品 | 亚洲欧美国产制服另类 | 综合日韩天天久久一本 |