Menu

pcbasic.ini

Anonymous
2016-11-04
2020-03-18
  • Anonymous

    Anonymous - 2016-11-04

    After loading my program, execution gifs a error, by opening a file with open "r",1," filename",256. If I change 256 to 128 no error. In the pcbasic.ini file, located %appdata%\pcbasic\pcbasic.ini, I changed #record-lengt to 256. But the error stays. What do I wrong ?
    Thanks fore your advice

     
  • Rob Hagemans

    Rob Hagemans - 2016-11-04

    Hi, can you please post your PCBASIC.INI file here? It wil make it easier to see if there is a problem.

    From what you write - it could be a typo, but the option ahould be record-length=256, not #record-lengt=256 - i.e. without the # and with a h at the end.

     

    Last edit: Rob Hagemans 2016-11-04
    • Rob Hagemans

      Rob Hagemans - 2016-11-04

      Sorry, I just checked - the correct option is max-reclen=256 . Remember there should be no # at the start of the line, that marks it as a comment and deactivates it.

       
  • Anonymous

    Anonymous - 2017-02-08

    I installed PC-BASIC on my Windows 10 computer. I would like to implement the SHELL command, but can't find a file named pcbasic.ini anywhere on it. Any suggestions?

     
  • Rob Hagemans

    Rob Hagemans - 2017-02-08

    It's at %appdata%\pcbasic\pcbasic.ini. Please see here http://robhagemans.github.io/pcbasic/doc/#configuration

     
  • Anonymous

    Anonymous - 2017-02-08

    There is no path that looks like that on my computer. The only place that has a folder called "AppData" is in a folder called "default.migrated" which in turns is in my "Users" folder. The AppData has subfolders "Local\Microsoft\Windows"; this last folder is empty. I thought the %AppData% folder should have been installed when I downloaded pcbasic. Apparently it wasn't.

     
  • Rob Hagemans

    Rob Hagemans - 2017-02-08

    It's a standard Windows folder, there's no need for it to be installed. Just paste the path %AppData%\pcbasic\PCBASIC.INI (literally, with the percent signs) into Explorer and it will take you there.

    On most Windows versions the actual name of the %AppData% directory is something like AppData\Roaming but on some it is different, so it's best to just paste the name in rather than to try to browse to it. PC-BASIC also installs a link to PC-BASIC Configuration in the Start Menu folder for PC-BASIC, but I don't know what Windows 10 does to the start menu these days.

    I'm reading on Google that Windows 10 makes AppData hidden for some people, so you may have to set hidden folders to visible. I have no idea why Microsoft do this since it's the location they recommend for configuration files.

     
  • Alan Lephart

    Alan Lephart - 2020-02-18

    Help! Can someone give me step by step instructions about how to fnd and how set the "printer-trigger]=page" command so my printer will print after each page? Please be patient . I don't have an eight year old to help explain it to me.

     
  • Alan Lephart

    Alan Lephart - 2020-02-21

    I finally stumbled onto the pcbasic.ini file quite by accident and in desperation, and changed the "trigger=close" to "trigger=page" and it still doesn't work...so I'm still looking for help from any kind soul out there. My 8 year old great grandson will be visiting in April so if I haven't got ot straight by then I'll beg him for help.

     
  • Smithdoor

    Smithdoor - 2020-03-18

    Back the 1980's I Program a mouse in PC Basica
    I have loss the data on how to program a mouse
    Can anyone hepl with program a mouse

    The other is communicating between two computers the last time this I use RS232 port but today none of computer have this port .
    What is best way toe communicate between two computers

    Thank you

     
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.