04-30-2006, 03:12 AM
Hi People all over the world!
You know these statements which appear in every code quite often, such as "Dim As Integer". You type them time for time, and get anoyed, because you type the wrong letter very often.
Now, why can't these words be shorter?
They can!
I've collected some of these most-used words, created two .BI-Files.
Now, there they are:
http://nopaste.freebasic.de/index.php?view=334
http://nopaste.freebasic.de/index.php?view=335
The first one is the basic one, containig quite a lot of defines such as this one:
#define DInt Dim As Integer
, a few Constants like
#define CL32_Red &HFF0000
#define CL8_Red 40
, some useful macros and functions and some more stuff like that.
The second one provides an extension of DRAW STRING: There's an extension that enables you to output bold and/or underlined text, to add an line break by just adding an Chr(13) in your string, an Input-Version that can FULLY replace the dirty Input in Gfx-modes, and a few text-analyzing-funcs.
I think, many people allready wrote routines like that, but unless I didn't find something like that, I think it's time to publicate.
Hope, some of you will use that
If there are any questions, just contact me. You'll get the fastest answer, if you wrote an eMail, but just posting here should be enough 8)
Have a nice day
Ciao
Dusky_Joe
You know these statements which appear in every code quite often, such as "Dim As Integer". You type them time for time, and get anoyed, because you type the wrong letter very often.
Now, why can't these words be shorter?
They can!
I've collected some of these most-used words, created two .BI-Files.
Now, there they are:
http://nopaste.freebasic.de/index.php?view=334
http://nopaste.freebasic.de/index.php?view=335
The first one is the basic one, containig quite a lot of defines such as this one:
#define DInt Dim As Integer
, a few Constants like
#define CL32_Red &HFF0000
#define CL8_Red 40
, some useful macros and functions and some more stuff like that.
The second one provides an extension of DRAW STRING: There's an extension that enables you to output bold and/or underlined text, to add an line break by just adding an Chr(13) in your string, an Input-Version that can FULLY replace the dirty Input in Gfx-modes, and a few text-analyzing-funcs.
I think, many people allready wrote routines like that, but unless I didn't find something like that, I think it's time to publicate.
Hope, some of you will use that
If there are any questions, just contact me. You'll get the fastest answer, if you wrote an eMail, but just posting here should be enough 8)
Have a nice day
Ciao
Dusky_Joe
ometimes, i think it is not logical to say
x = x + 1
This post is fully recycleable
x = x + 1
This post is fully recycleable