Advertisement
Lorenzo501

Params.ahk

Feb 29th, 2024 (edited)
1,111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Requires AutoHotkey 2.0
  2. Test("a", "b")
  3.  
  4. Test(params*)
  5. {
  6.     MsgBox(params*) ; msgbox text = a, msgbox title = b
  7.     MsgBox(params[1]) ; msgbox text = a
  8.     MsgBox(params[2]) ; msgbox text = b
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement