Function add1(x, y, z)
z=x+y
'this is sub function or called function
End Function
a=10
b=20
call add1(a, b, c)
msgbox c
------------------------------------------
----------.vbs
Function add1(x, y, z)
z=x+y
'this is sub function or called function
End Function
---------------
associate
a=10
b=20
call add1(a, b, c)
msgbox c
-----------------
executefile "C:\Documents and Settings\Administrator\Desktop\Lib\fun.vbs"
a=10
b=20
call add1(a, b, c)
msgbox c
-------------------------------
No comments
Post a Comment