Skip to content

Commit

Permalink
update to latest docs including BASIC program location
Browse files Browse the repository at this point in the history
  • Loading branch information
robhagemans committed Nov 13, 2016
1 parent 3f15652 commit 532e6c3
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions pcbasic/doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</nav>
<header>
<h1>PC-BASIC 15.08.10 documentation</h1>
<small>Last updated 2016-08-09 21:50:55.</small>
<small>Last updated 2016-11-13 11:01:56.</small>
</header>
<nav class="toc">
<h2 id="toc">Table of Contents</h2>
Expand All @@ -40,6 +40,7 @@ <h2 id="toc">Table of Contents</h2>
<ul>
<li><a href="#installation">Installation</a></li>
<li><a href="#basic-survival-kit">BASIC survival kit</a></li>
<li><a href="#location-for-basic-programs">Location for BASIC programs</a></li>
<li><a href="#configuration">Configuration</a></li>
<li><a href="#getting-programs">Getting programs</a></li>
</ul>
Expand Down Expand Up @@ -432,7 +433,7 @@ <h3 id="installation">Installation</h3>
<li>run the installer </li>
<li>to start, click PC-BASIC in your Start menu </li>
</ul>
<p>On <strong>OS X</strong>: </p>
<p>On <strong>Mac</strong>: </p>
<ul>
<li>mount the disk image </li>
<li>to start, double click the PC-BASIC app </li>
Expand Down Expand Up @@ -461,6 +462,13 @@ <h3 id="basic-survival-kit">BASIC survival kit</h3>
<code>SYSTEM</code> exits PC-BASIC immediately, discarding any unsaved program or data. </p>
<p>Use one of the key combinations <code>Ctrl+Break</code>, <code>Ctrl+Scroll Lock</code>, <code>Ctrl+C</code> or <code>F12+B</code>
to interrupt a running program and return to direct mode. </p>
<h3 id="location-for-basic-programs">Location for BASIC programs</h3>
<p>By default, PC-BASIC looks for programs in your home folder. </p>
<ul>
<li>On <strong>Windows</strong>, this is usually a folder with your user name, located under <code>C:\Users\</code>. You can find this folder in Windows Explorer by typing <code>%USERPROFILE%</code> in the address bar.</li>
<li>On <strong>Mac</strong> and <strong>Linux</strong> this is the directory <code>~/</code>.</li>
</ul>
<p>See <a href="#mounting">the documentation on accessing your drives</a> for more information.</p>
<h3 id="configuration">Configuration</h3>
<p>You can supply options to change PC-BASIC's behaviour by editing the configuration file. If you install the Windows package, the installer will automatically create a shortcut to this file in the PC-BASIC start menu folder. The file can also be found in the following location:</p>
<table>
Expand All @@ -476,7 +484,7 @@ <h3 id="configuration">Configuration</h3>
<td><code>%APPDATA%\pcbasic\PCBASIC.INI</code></td>
</tr>
<tr>
<td>OS X</td>
<td>Mac</td>
<td><code>~/Library/Application Support/pcbasic/PCBASIC.INI</code></td>
</tr>
<tr>
Expand Down Expand Up @@ -6078,7 +6086,7 @@ <h5>Notes</h5>
<ul>
<li>
<code>FIX</code> truncates towards zero: it removes the fractional part. By contrast, <code><a href="#INT">INT</a></code>
truncates towards negative infinity. For negative <code><var>x</var></code>, <code>FIX(<var>x</var>)-INT(<var>x</var>)=1</code>.
truncates towards negative infinity.
</li>
</ul>
<h5>Errors</h5>
Expand Down Expand Up @@ -6443,7 +6451,6 @@ <h5>Notes</h5>
<li>
<code><a href="#FIX">FIX</a></code> truncates towards zero: it removes the
fractional part. By contrast, <code>INT</code> truncates towards negative infinity.
For negative <code><var>x</var></code>, <code>FIX(<var>x</var>)-INT(<var>x</var>)=1</code>.
</li>
</ul>
<h5>Errors</h5>
Expand Down

2 comments on commit 532e6c3

@BigJoe3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the place for my comments, but this is the first place I found that might get a response from Rob. Your PC-BASIC looks like it will allow me to continue to use my 35 year old programs. Great! the problem I have is the limit on printing. I cannot get the print-trigger=page option to work. I am using windows 10. I found and made changes to the INI file. Nothing seems to have effect. I went so far as to put the options in the Defailt file, still no change. I m unable to start PCBASIC from my command prompt either. Any Help? I have joined GitHub as BigJoe3, Thanks

@robhagemans
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I've moved this to robhagemans/pcbasic#35, will respond there - thanks.

Please sign in to comment.