Texas Instruments TI-89 Manual Do Utilizador
![Texas Instruments](https://files.manualsbrain.com/attachments/b46f99d826b2b0e0e5f558c5fb6483942eb9216b/common/fit/150/50/c15ea36eb1fb1cce99a3b94668675bfc78ce832d8d727d9a7bb51a125510/brand_logo.gif)
Connectivity
729
Notes:
Ê
Sets up this unit to receive and display the variable msg.
Ë
Then lets this user enter a message in msg and send it.
Ì
Loop executed by the unit that receives the first message.
Í
Lets this user enter a message in msg and send it.
Î
Then sets up this unit to receive and display msg.
Ï
Loop executed by the unit that sends the first message.
:Chat()
:Prgm
:ClrIO
:Disp "On first unit to send,","
enter 1;","On first to receive,"
:InputStr " enter 0",msg
:If msg="0" Then
: While true
: GetCalc msg
: Disp msg
: InputStr msg
: SendCalc msg
: EndWhile
:Else
: While true
: InputStr msg
: SendCalc msg
: GetCalc msg
: Disp msg
: EndWhile
:EndIf
:EndPrgm
:Prgm
:ClrIO
:Disp "On first unit to send,","
enter 1;","On first to receive,"
:InputStr " enter 0",msg
:If msg="0" Then
: While true
: GetCalc msg
: Disp msg
: InputStr msg
: SendCalc msg
: EndWhile
:Else
: While true
: InputStr msg
: SendCalc msg
: GetCalc msg
: Disp msg
: EndWhile
:EndIf
:EndPrgm
Ê
Ë
Ì
Í
Î
Ï