Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: metex

From: brett:codeconscious at: 12-Apr-2002 22:40

Hi, Here is one idea: In basic believe PRINT #2, a$ will emit a line ending (CRLF?). So your insert should perhaps be insert mm #"D^/" or maybe insert mm join #"D" CRLF Sorry - thats all I can suggest right now. Brett. ----- Original Message ----- From: "Piotr Gapiński" <[news--rowery--olsztyn--pl]> To: "rebol" <[rebol-list--rebol--com]> Sent: Friday, April 12, 2002 5:38 AM Subject: [REBOL] metex not long ago I've bought a metex multimeter with serial port... in docs I saw small basic prog/listing like open "com2 : 1200, N, 7, 2, RS, CS, DS, CD" AS #2 a$ = "D" print #2, a$ in$=input$(14, #2) print in$ close #2 end so I've created small rebol script... REBOL [] mm: open/direct serial://port2/1200/7/none/2 mm/timeout: 5 update mm insert mm #"D" print copy/part mm 14 close mm ...but it doesn't work; why? Piotr Gapiński; mailto:[news--rowery--olsztyn--pl] Olsztyńska Strona Rowerowa; http://www.rowery.olsztyn.pl