Menu

Character per lines.

2016-03-20
2016-03-20
  • Ronald Herrera

    Ronald Herrera - 2016-03-20

    Hi, I was wondering how many chracters per line PCBASIC can accept? Because I was trying this music program 'HALLE.BAS' and I first thought that it had som garbage characters between lines or something like that, but I have observed that some lines was a bit long. Is there an option that I can longate somewhat the statemente lines in a program in PCBASIC?

    BTW, I'm trying to post you an attachment, but I can't see the feature. Where can I insert the attachmente?
    Ronald.

     
  • Ronald Herrera

    Ronald Herrera - 2016-03-20

    Nevermind I found it. :-) /Ron.

     
  • Rob Hagemans

    Rob Hagemans - 2016-03-20

    Hi Ron, thanks for the report. The maximum number of characters per line is 255. It seems that GW-BASIC does not include the return character at the end in that count and PC-BASIC does, so that effectively it only allows 254 characters. Line 60 in your program has 255 characters which is why it runs into this problem. I'll fix for .6 release so that it accepts 255 characters properly.

    Cheers
    Rob

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.