PureBasic List Of Commands
-
Randy Walker
- Addict

- Posts: 1208
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
- Contact:
PureBasic List Of Commands
I found this link http://www.purebasic.com/documentation/ looking for a list of commands. If you go to the bottom of that page, you find a "list of commands" link. Going to that page you find commands listed in alphabetical order.
I noticed some commands listed on that page are linked to a blank page. Most take you to a page showing a description and syntax if you click on them. Some take you to a blank page so I'm guessing that if the command is listed, then PureBasic uses that command but, maybe nobody got around to completing the description syntax page for that command.
Does anyone know if that might be an accurate guess?
I noticed some commands listed on that page are linked to a blank page. Most take you to a page showing a description and syntax if you click on them. Some take you to a blank page so I'm guessing that if the command is listed, then PureBasic uses that command but, maybe nobody got around to completing the description syntax page for that command.
Does anyone know if that might be an accurate guess?
Last edited by Randy Walker on Fri Aug 13, 2004 12:13 pm, edited 1 time in total.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
Why not just use the list of commands thats in the helpfile that comes with pb?
when you open the help file, in the big window where all the text is, go down to the bottom and there it is.
besides, the online version of manual you found where for 3.80.
Its the excact same as included in the offline manual, thats for 3.91.
when you open the help file, in the big window where all the text is, go down to the bottom and there it is.
besides, the online version of manual you found where for 3.80.
Its the excact same as included in the offline manual, thats for 3.91.
-
Randy Walker
- Addict

- Posts: 1208
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
- Contact:
Well, it goes like this. First I created a System Restore, then I downloaded every Windows basic listed at http://basic.mindteq.com/ that offered a full package; Interpreter and compiler that didn't create bloatware.thefool wrote:Why not just use the list of commands thats in the helpfile that comes with pb?
After testing and settling on PureBasic, I went and restored the backup System Restore and deleted all the installation folders.
Then I went and placed my online order (coincedently on the same day Fred left for vacation) on the automated online order system, which in turn failed to give me my account info. Waiting for Fred to get back so I can get version 3.91 and do a clean install.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
are these two files always up to date with every new version?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
PBFunctionListing.txt is updated on each IDE start, and it also contains
all userlib functions that are currently available. So add a new userlib,
restart the IDE and the functions will be in there.
APIFunctionsListing.txt is not autogenerated, because the available API functions
can only change on a new PB version anyway.
Timo
all userlib functions that are currently available. So add a new userlib,
restart the IDE and the functions will be in there.
APIFunctionsListing.txt is not autogenerated, because the available API functions
can only change on a new PB version anyway.
Timo
quidquid Latine dictum sit altum videtur
- NoahPhense
- Addict

- Posts: 2000
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
..
Wow! I did not know that..freak wrote:PBFunctionListing.txt is updated on each IDE start, and it also contains
all userlib functions that are currently available. So add a new userlib,
restart the IDE and the functions will be in there.
Thanks Timo
- np
- Kwai chang caine
- Always Here

- Posts: 5638
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: PureBasic List Of Commands
Hello at all
Since several version the "PBFunctionListing.txt" not exist
Have you a way to generate personal "PBFunctionListing.txt" or read all the PB command now, with the new version v4.51 ???
Thanks and good day
Since several version the "PBFunctionListing.txt" not exist
Have you a way to generate personal "PBFunctionListing.txt" or read all the PB command now, with the new version v4.51 ???
Thanks and good day
Re: PureBasic List Of Commands
Hi Kwaï
I just threw this together quickly, so you can modify as needed, and of course post improvements
here if you like. When run, you just need to select your Compiler directory, and it creates a file in
your C:\ drive named Functionslist.txt. Then it opens it up in notepad.
I just threw this together quickly, so you can modify as needed, and of course post improvements
here if you like. When run, you just need to select your Compiler directory, and it creates a file in
your C:\ drive named Functionslist.txt. Then it opens it up in notepad.
Code: Select all
EnableExplicit
Define.s TheCompiler
;example: D:\PureBasic4.5\Compilers
TheCompiler = PathRequester("Select please the path for the PB-compiler of your version!", GetEnvironmentVariable("ProgramFiles"))
If TheCompiler
TheCompiler + "pbcompiler.exe"
EndIf
If Not TheCompiler Or FileSize(TheCompiler) < 0
End
EndIf
Define.i i, j
Define.i Compiler = RunProgram(TheCompiler, "/STANDBY", "", #PB_Program_Open | #PB_Program_Read | #PB_Program_Write | #PB_Program_Hide)
NewList TheFunctions.s()
If Compiler
If IsProgram(Compiler)
Repeat
Until ReadProgramString(compiler) = "READY"
WriteProgramStringN(Compiler, "FUNCTIONLIST")
j = Val(ReadProgramString(Compiler))
For i = 1 To j
AddElement(TheFunctions())
TheFunctions() = ReadProgramString(Compiler)
Next
WriteProgramStringN(Compiler, "END")
CloseProgram(Compiler)
EndIf
EndIf
Define.i found
CreateFile(1,"C:\Functionslist.txt")
ForEach TheFunctions()
WriteStringN(1, TheFunctions())
Next
CloseFile(1)
RunProgram("notepad.exe","C:\Functionslist.txt","")
Re: PureBasic List Of Commands
Hello Kwaï,
some time ago ts-soft posted two small codes to read out the available compilerfunctions. The first (short) code simply returns a debug-output of all function-names, whereas the second code compares two comilers and returns (file-output) a) new functions & describtions and b) the whole (new) list (just names)
first: http://www.purebasic.fr/german/viewtopi ... 19#p261819
second: http://www.purebasic.fr/german/viewtopi ... 39#p269839
In case you need the pure lists (without included 'userfunctions') for comparison you can grab these here:
http://vspure.bplaced.net/dls/compilerFunktionen450.txt
(just change the number in the link to get the others: 410 ~ 420 ~ 431 ~ 441)
btw: version 4.51 didn't introduce new functions
@ yrreti
thanks for the third version
cheers ~ Vera
some time ago ts-soft posted two small codes to read out the available compilerfunctions. The first (short) code simply returns a debug-output of all function-names, whereas the second code compares two comilers and returns (file-output) a) new functions & describtions and b) the whole (new) list (just names)
first: http://www.purebasic.fr/german/viewtopi ... 19#p261819
second: http://www.purebasic.fr/german/viewtopi ... 39#p269839
In case you need the pure lists (without included 'userfunctions') for comparison you can grab these here:
http://vspure.bplaced.net/dls/compilerFunktionen450.txt
(just change the number in the link to get the others: 410 ~ 420 ~ 431 ~ 441)
btw: version 4.51 didn't introduce new functions
@ yrreti
thanks for the third version
cheers ~ Vera
Two growing code-collections: WinApi-Lib by RSBasic ~ LinuxAPI-Lib by Omi
Missing a download-file on the forums? ~ check out this backup page.
Missing a download-file on the forums? ~ check out this backup page.
Re: PureBasic List Of Commands
Where are the Constants stored:?:
It would be cool if it was this simple -> WriteProgramStringN(Compiler, "CONSTANTLIST")
It would be cool if it was this simple -> WriteProgramStringN(Compiler, "CONSTANTLIST")
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
- Kwai chang caine
- Always Here

- Posts: 5638
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: PureBasic List Of Commands
Thanks a lot my friends, it's exactely what i search
Sure the idea of skywalk is also interesting, but obviously....i not have the answer...like usually, kcc is always KCC
I wish you a very good day
Sure the idea of skywalk is also interesting, but obviously....i not have the answer...like usually, kcc is always KCC
I wish you a very good day
-
Randy Walker
- Addict

- Posts: 1208
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
- Contact:
Re: PureBasic List Of Commands
This would make a great piece of sample code to add to PureBasic Help -- maybe a link at the bottom of the "[+] Reference Manual" page.yrreti wrote:Hi Kwaï
I just threw this together quickly...Code: Select all
EnableExplicit Define.s TheCompiler ;example: D:\PureBasic4.5\Compilers TheCompiler = PathRequester("Select please the path for the PB-compiler of your version!", GetEnvironmentVariable("ProgramFiles")) If TheCompiler TheCompiler + "pbcompiler.exe" EndIf If Not TheCompiler Or FileSize(TheCompiler) < 0 End EndIf Define.i i, j Define.i Compiler = RunProgram(TheCompiler, "/STANDBY", "", #PB_Program_Open | #PB_Program_Read | #PB_Program_Write | #PB_Program_Hide) NewList TheFunctions.s() If Compiler If IsProgram(Compiler) Repeat Until ReadProgramString(compiler) = "READY" WriteProgramStringN(Compiler, "FUNCTIONLIST") j = Val(ReadProgramString(Compiler)) For i = 1 To j AddElement(TheFunctions()) TheFunctions() = ReadProgramString(Compiler) Next WriteProgramStringN(Compiler, "END") CloseProgram(Compiler) EndIf EndIf Define.i found CreateFile(1,"C:\Functionslist.txt") ForEach TheFunctions() WriteStringN(1, TheFunctions()) Next CloseFile(1) RunProgram("notepad.exe","C:\Functionslist.txt","")
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.



