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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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
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 ah
at the end.Last edit: 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.View and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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?
It's at
%appdata%\pcbasic\pcbasic.ini
. Please see here http://robhagemans.github.io/pcbasic/doc/#configurationView and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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.
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 likeAppData\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.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.
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.
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