|
Writes a string to the outbuf buffer. If ThbComPort.Options.SyncMode is set to True, the function waits until the string has been sent succsessfully. Otherwise the method returns immediately and the string is send in an asynchronous manner. Newer versions of Delphi and C++ Builder are using Unicode based strings by default. In these versions, the WriteStr mthod writes an unicode string to the output buffer. To write an AnsiString, use the WriteAnsiStr method instead of WriteStr. Declarationprocedure WriteStr(Value: String); See AlsoThbComPort.Timeouts, ThbComPort.Options.SyncMode, ThbComPort.WriteAnsiStr |