3 if result=0 connect param3
5 inputbox 'Send this file to the MSP430FR target:' ' ' param2
7 strcompare param4 'NOECHO'
9 sendln 'NOECHO PWR_STATE [DEFINED] STOP [IF] STOP [THEN]' ; set no echo from FastForth
10 setecho 0 ; suppr. echo from Teraterm
18 strcompare param4 'HALF'
20 sendln 'NOECHO PWR_STATE [DEFINED] STOP [IF] STOP [THEN]' ; set no echo from FastForth
30 sendln 'ECHO PWR_STATE [DEFINED] STOP [IF] STOP [THEN]'
31 setecho 0 ; no echo from Teraterm
42 ; param2 = file to send
44 ; param4 = "ECHO" or "NOECHO" or "HALF" or nothing