PureBasic Instruction Set

Mac OSX specific forum
James Adrian
User
User
Posts: 36
Joined: Tue Jan 18, 2011 7:13 am

PureBasic Instruction Set

Post 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
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureBasic Instruction Set

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
James Adrian
User
User
Posts: 36
Joined: Tue Jan 18, 2011 7:13 am

Re: PureBasic Instruction Set

Post 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
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: PureBasic Instruction Set

Post 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
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureBasic Instruction Set

Post by IdeasVacuum »

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Shardik
Addict
Addict
Posts: 2076
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: PureBasic Instruction Set

Post 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
James Adrian
User
User
Posts: 36
Joined: Tue Jan 18, 2011 7:13 am

Re: PureBasic Instruction Set

Post 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
User avatar
Demivec
Addict
Addict
Posts: 4283
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: PureBasic Instruction Set

Post 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.
James Adrian
User
User
Posts: 36
Joined: Tue Jan 18, 2011 7:13 am

Re: PureBasic Instruction Set

Post 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
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureBasic Instruction Set

Post by IdeasVacuum »

The Rosetta Code Pages have some good code snippets in several languages. PB is well represented.

http://rosettacode.org/wiki/Category:PureBasic
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply