Page 1 of 1

PureBasic Instruction Set

Posted: Wed Jan 26, 2011 3:00 am
by James Adrian
I bought PureBasic and went through the folders looking for a complete listing of the instruction set. Is there such a listing? If not, can it be found anywhere?

Thank you for your help.

Jim Adrian

Re: PureBasic Instruction Set

Posted: Wed Jan 26, 2011 3:38 am
by IdeasVacuum
Seems there used to be a plain text file, but I do not know which folder it might be in if it still exists.

In the Help, Search tab, a search for functions does list the names.

There is also an A-Z index which is better. In the Help, Contents tab, Reference Manual, see 'Overview', bottom right of the page. Also has a handy list of platform-dependant functions.

Re: PureBasic Instruction Set

Posted: Wed Jan 26, 2011 6:58 am
by James Adrian
IdeasVacuum wrote:Seems there used to be a plain text file, but I do not know which folder it might be in if it still exists.

In the Help, Search tab, a search for functions does list the names.

There is also an A-Z index which is better. In the Help, Contents tab, Reference Manual, see 'Overview', bottom right of the page. Also has a handy list of platform-dependant functions.
I just can't find this location. Should I start at the PureBasic folder in my application folder or should I start by opening the program or is there some place else?

Thank you for your help.

Jim Adrian

Re: PureBasic Instruction Set

Posted: Wed Jan 26, 2011 9:02 am
by Vera
Hi James,

have a closer look at: PureBasic List Of Commands

And the A-Z index is within the help file.
Start purebasic and hit F1 to reach the main reference-index of the help. Scolling down to the bottom you'll find the Commands Index.

As far as I've heard for MAC: the fist time you'll use F1 from the IDE the whole helpmanual will be decompressed and installed into it's own subfolder of purebasic's appfolder: "/Applications/PureBasic/help/purebasic/..." with the reference in ".../Reference/reference.html"

cheers ~ Vera

Re: PureBasic Instruction Set

Posted: Wed Jan 26, 2011 9:47 am
by IdeasVacuum

Re: PureBasic Instruction Set

Posted: Wed Jan 26, 2011 6:54 pm
by Shardik
James Adrian wrote:I bought PureBasic and went through the folders looking for a complete listing of the instruction set. Is there such a listing?
- In your activated PureBasic IDE click onto "Help" in the menu
- Choose "? Help..." in the drop down list
- If a Requester pops up and asks for confirmation to open the help inside
your browser, confirm this action
- Scroll down to the bottom of the displayed topics
- Click onto "Commands Index"
- The "PureBasic - Index" is displayed and all commands are sorted by their
first letter
- Click onto the first letter at the top to display all commands that begin with
that letter
- Click onto a command to see its description
- With the back button in your browser you can go back to the index

Re: PureBasic Instruction Set

Posted: Wed Jan 26, 2011 7:54 pm
by James Adrian
I am looking for a list that shows the syntax of things like Add, Subtract, Multiply, Divide, Move, and so on. What I am getting are things like AddMaterialLayer
AddPackFile, AddPackMemory, AddStatusBarField, AddSysTrayIcon, and AddWindowTimer.

Am I looking for something that no longer exists in the Basic Programming Launguage?

Jim Adrian

Re: PureBasic Instruction Set

Posted: Wed Jan 26, 2011 8:03 pm
by Demivec
Click the link in IdeasVacuum's post and then look under the help topics of "General Syntax Rules", "Variables, Types, and Operators", "Basic Keywords", "Arrays, Lists & Structures", "Procedure Support", and "Advanced Keywords".

The other large portion of the help manual deals with details of the commands in the various libraries as well as using the compiler, IDE, and so forth.

Re: PureBasic Instruction Set

Posted: Thu Jan 27, 2011 1:06 am
by James Adrian
Demivec wrote:Click the link in IdeasVacuum's post and then look under the help topics of "General Syntax Rules", "Variables, Types, and Operators", "Basic Keywords", "Arrays, Lists & Structures", "Procedure Support", and "Advanced Keywords".

The other large portion of the help manual deals with details of the commands in the various libraries as well as using the compiler, IDE, and so forth.
This is just where I wanted to start.

Thank you all for your help.

Jim Adrian

Re: PureBasic Instruction Set

Posted: Thu Jan 27, 2011 12:08 pm
by IdeasVacuum
The Rosetta Code Pages have some good code snippets in several languages. PB is well represented.

http://rosettacode.org/wiki/Category:PureBasic