pass multiple parameters in a function

Hi All,

Could anyone please tell me how to pass multiple parameters in a function?

e.g. login(Usr,Pswd,IPAdd,Port)

Comments

  • Suppose you have a custom 'to' handler like this:
    to login(param1, param2, param3, param4)
    
    	// print parameters
    put param1
    	put param2
    	put param3
    	put param4
    	
    end login
    

    To invoke this handler:
    login "Usr","Pswd","IPAdd","Port"
    
Sign In or Register to comment.