

The help file should keep those (removed) entries that way when the compiler tells you the function no longer exists the user can see the description of the arguments and find out how to convert it to use the replacement one. Virtually all modern programming languages. Then people wonder why purebasic doesn't gain a larger following In most languages, this is realized as an array, vector, list, or sequence. I suggested something like that 2 years earlier here, but as usual stuff that would help PB's image and beginners using old forum code gets ignored. So I thought we can collect information about obsolete functions in this thread (until it will become part of the official documentation).
Purebasic reference manual manual#
However, the respective entries and links in the table of contents of the PureBasic Reference Manual have been removed.

DelayO (Helpfile:Reference Manual->General Libraries->Misc->Delay) Syntax. There is already a feature request for proper documentation of functions that do not exist anymore in the current PB version or that changed enough to break backwards compatibility.įortunately, the documentation of some (all?) obsolete functions is still available on the internet. Is there any free purebasic e-book (for beginners or any) available for download, possibly in. Using Built-in Commands 93 Using The PureBasic Helpfile 93 PB Numbers And OS. MessageRequester("Error", "Can't compress the file") MessageRequester("Info", "De/Compression succeded:"+#LF$+#LF$+"Old size: "+Str(FileLength)+#LF$+"New size: "+Str(CompressedLength)) PureBasic was traditionally a bit lacking in the documentation and. Compress our file, which is in memory (and use a timer to see the time spend by compression.)ĬompressedLength = PackMemory(*Source, *Target, FileLength)ĭecompressedLength = UnpackMemory(*Target, *Source) But that doesnt mean this is a bad programming language, or that basic itself is a. ReadData(0, *Source, FileLength) Read the whole file in the memory buffer The GitHub-hosted Wiki associated to the PureBASIC Archives repo is intended as an online reference for PureBASIC ie: not for tutorials, reviews of third party tools, ecc., but as place where one can quickly find tech specs, FAQs, cross-platform setup and development guidelines, and any answers relating to PureBASIC as a language and. Allocate the 2 memory buffers needed for compression. If ReadFile(0, OpenFileRequester("Choose a file to compress", "", "*.*", 0))
