Creating Libraries

codingmasters
29 Oct 2003, 07:39
How do you create a library?

Is there a tutorial out there somewhere?
I heard "Al" was good at making themand wondered if I could somehow get a copy?

Thanks, Matthew G.

Hi Matthew

There isn't a tutorial for making libraries as far as I know. Once you have got a good grasp of writing Quest ASL by hand, the syntax for writing libraries is readily "picked up" from the Quest documentation.

The harder bit is that with a library you are usually NOT writing to deal with solving a specific problem, rather you are trying to write something which is general purpose, reusable and (ideally) as flexible as possible.

This is why my libraries have such a lot of code in them and don't always take the obvious 'easy way' to do things.

Al

Yeah, writing libraries that'll be able to be used by other people is very hard IMO. Having a difficult time sorting some of that stuff out in my RPG battle library.

codingmasters
30 Oct 2003, 02:29
Thanks Al

Perhaps you could send me one of ur libraries then so that I could see how it works

Matthew G.


codingmasters
01 Nov 2003, 03:30
Thanks

Matthew G.