Announcement

Collapse
No announcement yet.

Help with syntax on SetComPortRTSDTR

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help with syntax on SetComPortRTSDTR

    Does anyone have an example of what the syntax is? Do you need "( )" or quotes around the TRUE settings?

    hs.SetComPortRTSDTR(1,True,True)

    or not? I didnt see any examples in the help files or on the board.
    A computer's attention span is as long
    as it's powercord.

    #2
    hs.SetComPortRTSDTR 1,TRUE,TRUE' Set DTR & RTS on

    Thats from a working script. The syntax is when calling a function use parentheses. When calling a subroutine then don't use parentheses.

    ie
    x = func(y) is a function call

    sub x,y is a subroutine call
    Bruce

    "The universal answer is 42."

    Comment


      #3
      Thanks. I will try this.
      A computer's attention span is as long
      as it's powercord.

      Comment

      Working...
      X