#AmigaBasic & ACE
Hi Ken.
Sorry for not being around to responding to the "AmigaBASIC & ACE" messages
sooner. I don't get onto CompuServe as often as I used to, but I should be
on again more often now.
Before going any further, I'd like to mention that the ACE mailing list
(via the Internet) is in existence and you are encouraged to join and ask
questions there also. You can subscribe via CompuServe mail to the Internet
by sending the message:
subscribe ace FirstName LastName
to:
Listserver@appcomp.utas.edu.au
> Is there a way to use the PRINT USING in an Amiga Basic program then
> compile with ACE without mega errors?
As John mentioned in his reply to you, PRINT USING is not yet implemented,
but is high on my priority list for the next release which I hope to start
work on in a couple of weeks once things settle down at work a little.
It's odd. I was actually just thinking about starting to write the PRINT
USING run-time code tonight before I read your message. 🙂
> Also I want to use ARRAYS with variable unk sizes how can I do that and
> compile with ACE ?
I'm not sure what "variable unk sizes means" 🙂 Do you want to have arrays
with variable string element sizes or…?
It is possible in ACE to dynamically allocate arrays and to set a specific
size for string array elements. See ref.doc's DIM entry and feel free to ask
questions about this in this forum again. I'll be back here again in a couple
of days.
> Also noted that ACE doesn't support LPRINT either… but I did finally
> get me old basic prg rewritten so that its compatable/compilable finally.
This command is also on my to-do list. It's functionality can easily be
replaced by opening a file to the printer, eg.
LPRINT "hello world"
can be replaced by:
OPEN "O",#1,"PRT:"
PRINT #1, "hello world"
CLOSE #1
> Started out with 280+ runtime errors heh….amazing, it worked just fine
> in AmigaBasic.
I imagine that many of these error messages were bogus, resulting from
comparatively few real problems. Many compilers have this kind of problem
with error messages and ACE is no exception although I admit that I'd like
to improve this side of things. The way an interpreter handles this (and some
compilers) is to stop at the first error and display a message re: that.
Apart from this, I am trying to implement those features still missing from
ACE but present in AmigaBASIC, and am doing so, slowly but surely. There
are also miscellaneous minor differences between ACE and AmigaBASIC and I
am trying to close these gaps also.
> ACE is very nice though and my hat is off to David Benn and all those
> others involved in its conception.
Thanks, and you're welcome.
Regards,
David Benn