... 
x = None 
x = HECobject.method(x)
```
**Script 2.** Code sample 2. Initialization of the HEC-RAS object and use of its methods requiring passing of the argument by reference.

In more complex cases it should be noted that the return list should follow the sequence of the argument list. An example is presented in Script 3.

```
import win32com.client 
HECobject = win32com.client.Dispatch("RAS503.HECRASController")