Hi,
Similar like CHD(ChannelLine, ChannelName) for numeric channels you can use CHT(ChannelLine, ChannelName) for text channels to read or write Data/Text from or into a channel. Example:
Dim tMyText
' create a text channel
Call CHNALLOC("MyChannel",1024,1,DataTypeString,"Text",1,5)
tMyText = "New text"
' write content of tMyText into the first line
ChT(1, "MyChannel") = tMyText
' read first line and store it into tMyText
tMyText = ChT(1, "MyChannel")
' display tMyText
msgbox tMyText
I hope this will help
Greetings
Walter Rick