VBScript のプロシージャ、Function プロシージャ
Function foo() MsgBox "foo" End Function foo Function bar(x,y,z) MsgBox "bar" & x & y & z End Function bar 1,2,3
Function foo() foo = 1 End Function MsgBox foo
Function foo() MsgBox "foo" End Function foo Function bar(x,y,z) MsgBox "bar" & x & y & z End Function bar 1,2,3
Function foo() foo = 1 End Function MsgBox foo