Passing parameters to statements
Parameters can be constants or variables.
String constants must be always enclosed in double quota ".
This statement is not correct:
openport (COM3,9600,8,None,1,None) This is correct:
openport ("COM3",9600,8,"None",1,"None")
And also these:
port="COM3"
baud=9600
openport (port,baud,8,"None",1)
Statements/commands are called "functions" in this reference, regardless they are returning or not a value.