Re: Euphoria Library Manifest

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 14 Jul 2004 10:55:27 -0700, Tommy Carlier
<guest at RapidEuphoria.com> wrote:

>When you create a program or library that needs 3rd party-libraries that are
>not included, you should include a text-file in your ZIP-file:
>elm.txt:

I don't see the need for a separate file. People should just use
common sense and courtesy (although I tend to bundle everything),
by beginning the main source of their application with eg:

include win32lib.ew
if compare(Win32LibVersion[1..3],{0,60,0})=-1 then
	puts(1,"version 0.60.0 or later of win32lib is required")
-- from http://www.users.bigpond.com/ddparnell/euphoria/euphoria.htm
	abort(1)
end if

or, something like if routine_id("get_series")=-1 might suffice, if
the library does not have an explicit version constant, which of
course it should.

I just think that would be a better standard to adopt.
Regards,
Pete

PS It has always seemed the trivial files (eg print.e, print.ew,
sprint.e, bget.e...) cause me problems, not the big ones.
The ones that people forget, not the ones you can't miss.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu