Good Morning,
I have read coders comments on EasyVENT and PureCOLOR. What are these? Will it make coding easier, faster, or do things not specifically addressed by PureBasic?
Enjoy the day,
Earl
What is??
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Those are UserLibraries.
pre-compliled code that support additional commands.
PB consists of native libraries as there are the 2D-lib or the Sprite&Screen-lib,
that have seperate chapters in the PB help.
a UserLib is an additional library you can copy into your LIB-folder to use the additional commands within your code.
they will be compiled into your exe, so you dont need the lib to execute it.
that is the magnificent difference to a DLL, wich have to be released together with your exe.
to use UserLibs or not is a matter of taste.
for readers of your code it makes a difference, since they may not know the additional commands.
for users of your exe it makes no difference, since the code is compiled into your application.
pre-compliled code that support additional commands.
PB consists of native libraries as there are the 2D-lib or the Sprite&Screen-lib,
that have seperate chapters in the PB help.
a UserLib is an additional library you can copy into your LIB-folder to use the additional commands within your code.
they will be compiled into your exe, so you dont need the lib to execute it.
that is the magnificent difference to a DLL, wich have to be released together with your exe.
to use UserLibs or not is a matter of taste.
for readers of your code it makes a difference, since they may not know the additional commands.
for users of your exe it makes no difference, since the code is compiled into your application.
oh... and have a nice day.
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Hi Earl,
just to add that EasyVENT is not quite a 'user library' in the Purebasic sense. It is a library in the sense that it can be used in your own projects to add functionality which is above and beyond that offered by Purebasic, but it comes in the form of a source code include file. This means that you can alter the library code directly if you wish as it remains open for you to use in any way you wish.
You can use the EasyVENT library by simply adding the command
to your own project.
Whether you prefer libraries in their original source code form or as a pre-compiled PB user library, is really a matter of individual preference. I personally prefer source code etc.
Just thought I'd throw this into the pot!
just to add that EasyVENT is not quite a 'user library' in the Purebasic sense. It is a library in the sense that it can be used in your own projects to add functionality which is above and beyond that offered by Purebasic, but it comes in the form of a source code include file. This means that you can alter the library code directly if you wish as it remains open for you to use in any way you wish.
You can use the EasyVENT library by simply adding the command
Code: Select all
XIncludeFile "Easyvent.pbi"
Whether you prefer libraries in their original source code form or as a pre-compiled PB user library, is really a matter of individual preference. I personally prefer source code etc.
Just thought I'd throw this into the pot!

I may look like a mule, but I'm not a complete ass.
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany