home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
coders
/
jËzyki_programowania
/
ace_basic
/
ace
/
docs
/
includes.readme
< prev
next >
Wrap
Text File
|
1977-12-31
|
2KB
|
79 lines
- V3.1 includes FOR ACE basic -
Here they are, the 3.1 includes for ACE Basic. They may be used
on all Amigas with any OS version (although some functions/values
do not pertain to pre-3.1 Amigas - DB).
To be able to use these includes with ACE you must use
another preprocesor than APP (for now, this may change later).
What you can use is acpp a hacked version of the old cpp. This
is in the bin directory. See also docs/bin.readme and docs/acpp.man.
You can also, which I prefer, use dcpp from the free DiceArcive. This
one is on Aminet.
You also need a small utility, RemoveLine which shaves off the
lines that the preprocesor puts in the preprocesed source.
RemoveLine can be found in the bin directory as can two scripts to
help you compile sources: bas2 and bas3. The former is for use with
acpp, while the latter is for use with dcpp. Copy whichever one you
want to use to ACE:bin/bas and make sure the "s" bit is set with
the command:
protect ACE:bin/bas +s add
Now to the includes.
I have tried my best to make them as error-free as possible but
there must be errors somewhere. Please report them to David or me.
There are some changes to structures and structure members, _ALL_
ACE keywords are now prefixed with an underscore like this:
_Window, _Screen and so on.
To get the screen font you have to specify:
_Screen->_Font.
You can't just use _ONE_ header cause they are now, like C: nested.
I have made a header in <ace/default.h>, if you use this include
you get all headers in the right order.
One other thing about structures.
If you look in the headers you will see something like this.
#define WindowPtr ADDRESS
This is just that I prefer to write (and read) structures like this.
STRUCT _Window
WindowPtr NextWindow
WindowPtr PrevWindow
.
.
It's just instead of an ADDRESS, But when I read that structure I can
see that it's a pointer to a structure and not just an Address.
Have fun and don't find too many bugs.:)
Nils Sjoholm
Bugs to: >NIL:
or
D.Benn@appcomp.utas.edu.au
ninne@oden.se
Note: see also docs/bmaps.readme