I'm writing a small utility program in baja, and it works like a charm, but I'm having an issue with the pront function. When I use the print function to write a line that can be seen on the terminal, I see a strage carracter at the end of the line after it's displayed. Ot a o with tow dots over it, and on another line that's displayed, i get a o, with a ^ over it. I would think it would be because I have garbage somewhere in the code, but ive tried several editors, and nothing strange shows up. The only thing I have noticed, is the lines with the characters, are over 72 carracters long. The shorter lines don't have the starage carracters. below is one of the lines I'm seeing the strange carracters on.
PRINT "\r\n|14Special Note|12: |11See Valhalla's BBS System The Way It Was Intended To Be Seen And"
PRINT "\r\n |11Download SyncTERM at|12http://sourgeforge.net/projects/syncterm/"
I using | color codes.
Any Ideas. As always, thanks
Re: BAJA Problem
By: DesotoFireflite to All on Wed Jan 20 2016 03:00 pm
I'm writing a small utility program in baja, and it works like a charm, but I'm having an issue with the pront function. When I use the print function to write a line that can be seen on the terminal, I see a strage carracter at the end of the line after it's displayed. Ot a o with tow dots over it, and on another line that's displayed, i get a o, with a ^ over it. I would think it would be because I have garbage somewhere in the code, but ive tried several editors, and nothing strange shows up. The only thing I have noticed, is the lines with the characters, are over 72 carracters long. The shorter lines don't have the starage carracters. below is one of the lines I'm seeing the strange carracters on.
PRINT "\r\n|14Special Note|12: |11See Valhalla's BBS System The Way It Was Intended To Be Seen And"
PRINT "\r\n |11Download SyncTERM at|12http://sourgeforge.net/projects/syncterm/"
I using | color codes.
Any Ideas. As always, thanks
What happens if you don't use | codes?
PRINT "\r\n |11Download SyncTERM
at|12http://sourgeforge.net/projects/syncterm/"
I using | color codes.
Any Ideas. As always, thanks
What happens if you don't use | codes?
What happens if you don't use | codes?
I pasted the code you provided above (with | codes) into a file, compiled with Baja and when exeuted, the output looks normal:
þ Main þ 0:05:00 [2] DOVE-Net [17] Synchronet Sysops: ;EXEC *TESTPRINT
SY:
Special Note: See Valhalla's BBS System The Way It Was Intended To Be Seen And
Download SyncTERM athttp://sourgeforge.net/projects/syncterm/
Re: BAJA Problem
By: Digital Man to DesotoFireflite on Wed Jan 20 2016 05:25 pm
What happens if you don't use | codes?
I pasted the code you provided above (with | codes) into a file, compiled with Baja and when exeuted, the output looks normal:
þ Main þ 0:05:00 [2] DOVE-Net [17] Synchronet Sysops: ;EXEC *TESTPRINT SY:
Special Note: See Valhalla's BBS System The Way It Was Intended To Be Seen And
Download SyncTERM athttp://sourgeforge.net/projects/syncterm/
I've got a feeling it's something intraduced by the editor. I'm going to try it without color codes and see what happens, then if ok, I will try sync codes instead of | codes. I'm using notepad 2 as an editor. It's strange, as I've never had this issue before with any baja module I've created. Thanks for trying it on your end, at least I know it's something I am doing, and that helps.
If send me the file (upload or attach to email), I can have a look-see and let you know if those bytes are in the file. Maybe a UNICODE BOM or
I'm writing a small utility program in baja, and it works like a charm, but I'm having an issue with the pront function. When I use the print function to write a line that can be seen on the terminal, I see a strage carracter at the end of the line after it's displayed. Ot a o with tow dots over it, and on another line that's displayed, i get a o, with a ^ over it. I would think it would be because I have garbage somewhere in the code, but ive tried several editors, and nothing strange shows up. The only thing I have noticed, is the lines with the characters, are over 72 carracters long. The
email your script to me and i'll see whats wrong.
email your script to me and i'll see whats wrong.
I've got a feeling it's something intraduced by the editor. I'm going
to try it without color codes and see what happens, then if ok, I will
try sync codes instead of | codes. I'm using notepad 2 as an editor.
It's strange, as I've never had this issue before with any baja module
I've created. Thanks for trying it on your end, at least I know it's
something I am doing, and that helps.
If send me the file (upload or attach to email), I can have a look-see and let you know if those bytes are in the file. Maybe a UNICODE BOM or something.
digital man
Figured it out. It was garbage intraduced by my Mac editor. I opened it
with my old tried and true dod edit.com, and everything showed up. Cleared out the garbage, and it works and looks great. Thanks for everyones feedback.
http://www.filedropper.com/kinesicstexteditor
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 325 |
Nodes: | 10 (0 / 10) |
Uptime: | 10:37:22 |
Calls: | 510 |
Messages: | 220575 |