T.R | Title | User | Personal Name | Date | Lines |
---|
1582.1 | | STC::HEFFELFINGER | Give my body to science fiction. | Mon Aug 08 1988 21:00 | 15 |
| Re .0
Yes, I used Draco before I bought my Aztec C compiler, and liked
it very much. I think you an learn a fair amount about programming
the Amiga, by using Draco, but bear in mind that it "feels" more
like C than like Modula-2. (I have both the TDI M2 compiler and
the Aztec C compiler.) I don't think I'd do a big project with
Draco, but it helped me learn more about programming Ami than that
nasty TDI compiler ever did. (In case you hadn't guessed, I very
few nice things to say about that compiler. The language itself
is intriguing, but TDI did a less than adequate job.)
Back to Draco, use it while you're saving for a commercial compiler.
Gary
|
1582.2 | Trying to understand Draco | CSOADM::STOUGHT | | Tue Jan 24 1989 22:02 | 12 |
| Hi,
I.ve been looking at Draco for some time now but am a little
overwhelmed by it. Sigh! I'm just a Basic programmer looking to
expand his horizons and learn more about programming the Ami. I
just can't seem to get a handle on the little stuff I used to being
able to do like file I/O and graphics (like th CRICLE command in
basic). How do you figure what libraries to 'include'. Maybe I outa
my league.?
Steve.
|
1582.3 | Don't give up. | SMAUG::SPODARYK | Jefferson, I think we're lost. | Tue Jan 24 1989 23:12 | 8 |
| I don't know anything about Draco, but don't give up. In my
opinion, most structured languages are very similiar.
If you can program in BASIC you should be able to learn other
languages. It may take some work, but it's time well spent.
Good Luck,
Steve
|
1582.4 | Thanks | CSOADM::STOUGHT | | Tue Jan 24 1989 23:57 | 5 |
|
I'm probably too stubborn to give up. Thanks :^)
Steve.
|
1582.5 | I'm a 'DRACOnian' too... wait, I don't like that nbame. | DIXIE1::MCDONALD | Surly to bed, surly to rise... | Wed Jan 25 1989 09:45 | 37 |
| The only non-basic language I have is DRACO. It seems like it's
going to be adequate until I can buy a commercial compiler, but
lack of a hard disk has kept me from doing much programming. (DRACO
and all of it's necessary files don't fit very well on a single
floppy.)
In answer to your question, I think you need to pick up an Amiga
programmer's manual which contains the amiga's library routines.
There are several available. Poke back through this notesfile for
info on which best suit your needs. Anyway, armed with such
documentation, you should be able to determine which of these routines
you need to call to generate the desired results. (Just like BASIC)
In order to call a particular routine, you must have that routine
declared as an external routine up at the beginning of your DRACO
program. This is where include-files come in. Include-files contain
the external routine declarations for these system routines. So you
just include the include-files that contain the declarations for the
routines you're going to use. I think the include-files are simple
text, so you can type/search/whatever them if you like. Only include
the include-files you need for size and, I think, compile speed
considerations.
Also, find some sample programs. For me, at least, that's the quickest
way to learn a new language. The DRACO disk set comes with source
for several sample programs. They're a good place to start.
DRACO seems to be a good language. It appears to be pretty robust.
My only complaints with it are that I can't quite fit everything
I want on one DRACO System Disk, and that DRACO produces very large
executables (problem which should be solved when the DRACO linker
gets ported to the AMIGA.)
John
|
1582.6 | Thanks | CSOADM::STOUGHT | | Wed Jan 25 1989 10:01 | 5 |
|
Thanks for the info. I have a Amiga programming book that contains
a bunch of library routines. I'll give your suggestions a try. :)
Steve.
|
1582.7 | Draco is a fine language. | STC::HEFFELFINGER | Pigs and Ponies | Wed Jan 25 1989 23:30 | 13 |
| I have used and enjoyed Draco. It does take getting used to. I'm
not sure that the Fred Fish release is an ideal environment for
doing large projects, though Draco's author, Chris Gray, has done
some fairly large ones. Chris is working on a new release, but
I think he's a little disappointed by the lack of response he's
gotten from the Amiga community at large, so it may not be his highest
priority at the moment. I think if his announced improvements come
to pass, it'll be a nice little programming language.
(The above is gleaned from his messages on Usenet and a bit of email
from him. Take it with a grain of salt.)
Gary
|