c37189h@saha.hut.fi (Harri "Haba" Suomalainen) (01/09/91)
I tried to ascii upload the following. (Which was downloaded from HP, then edited). My wirering is ok. Upload goes well but at the end i get a message: 'Invalid syntax: >>*' where * stands for a blue square (char 158 in HP48). Cannot figure out what's wrong with my program end! Program follows: @ CONV @ Converts a string to object(s). Requires ASC-> and KCRC and STRINV @ Example: @ @ 1: "12345" @ CONV @ 1: External %%HP: T(3)A(D)F(.); \<< DUP KCRC \->STR DUP @ 1: "12345" 2: "# 1426h" SIZE 1 - 3 SWAP SUB @ 1: "12345" 2: "1426" STRINV @ 1: "12345" 2: "6241" WHILE DUP SIZE 4 < @ While checksum has less than 4 digits REPEAT "0" + @ Add a '0' to the end of checksum string END @ 1: "12345" 2: "6241" + @ 1: "123456241" ASC\-> \>> -------- end -------- end -------- My setting should by ok. As to the details the are: In HP48: wire, ASCII, 9600, parity none, translate code 3 In kermit: 9600, parity none I'm transferring file from pc. There is no invisible letters at the end of my program. (hex dump 5C 3E 3E 0D 0A 0A) 5C = \ 3E = > I'm amazed by the fact that the same end sequence *is* accepted by HP48 in some cases! Thanks, Harri Suomalainen -- Harri Suomalainen c37189h@saha.hut.fi haba@otax.tky.hut.fi