/ Published in: Python

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#/////////////////////////////: # pass a arg by ref #/////////////////////////////: err=clr.Reference[str]("") yourMethod(err) #/////////////////////////////: # pass a arg by ref #/////////////////////////////: from System.Collections.Generic import * l=List[str]() l.Add("val1") l.Add("val2") #/////////////////////////////: # get arguments from commandline #/////////////////////////////: from System import Environment argv = list(Environment.GetCommandLineArgs())
Comments
