generated docs added

This commit is contained in:
n00b
2024-10-24 23:25:02 -04:00
parent b14019f9a9
commit 6edb1bc09d
939 changed files with 88629 additions and 8 deletions

View File

@@ -1,12 +1,11 @@
#title RCBasic Setup [RCBasic Doc]
<h1><b><u>SETTING UP RCBASIC</u></b></h1>
#header <b><u>SETTING UP RCBASIC</u></b>
RCBasic comes with 2 command-line tools for creating programs. The first is rcbasic_build which takes your sourcecode in your *.bas file and compiles it into a *.cbc file. The *.cbc file contains intermediate bytecode which can be ran with the rcbasic (rcbasic.exe on windows) application.
NOTE: On Windows, you need to include all the 32-bit dlls with the 32-bit executable and all the 64-bit dlls with the 64-bit executable. The rcbasic package tool will automatically do all of this for you as well as package for other systems as well.
<h1><b><u>RUN PROGRAMS FROM GEANY</u></b></h1>
<h2><b><u>RUN PROGRAMS FROM GEANY</u></b></h2>
<b><u>LINUX</u></b>
In the installer directory there is a folder called geany_files. Inside the folder there is a file named filetypes.rcbasic. You can override the geany *.bas configuration by replacing the freeBasic configuration with this file. Just copy this file to the geany filedefs path, which on most linux distibutions should be (/home/.config/geany/filedefs), and rename the file to filetypes.freebasic.
@@ -20,7 +19,7 @@ NOTE: If you want to use a different file extension for rcbasic programs you can
Geany comes preconfigured with rcbasic on windows. Just run the start_editor.bat file and create a new *.bas file. Select the File->New with Template option in the menu to start with a simple template program. Once you have created a new *.bas file goto Build->Compile to compile your program to a *.cbc file. Then goto Build->Execute to run your program.
<h1><b><u>USING RCBASIC FROM THE COMMAND-LINE</u></b></h1>
<h2><b><u>USING RCBASIC FROM THE COMMAND-LINE</u></b></h2>
RCBasic will be added to path on install on linux. On Windows you will need to add the rcbasic folder to your path. Either (rcbasic/rcbasic_32) or (rcbasic/rcbasic_64) depending on your operating system. Once rcbasic is in your path you can simple pass a source file to rcbasic_build to create a *.cbc file.
#code
@@ -42,6 +41,6 @@ rcbasic -version
<h1><b><u>PORTING TO OTHER PLATFORMS</u></b></h1>
<h2><b><u>PORTING TO OTHER PLATFORMS</u></b></h2>
From RCBasic Studio, select tools->distribute and then select the platforms you want to distribute to and click the "MAKE APP" button.