On Sun, Jan 27, 2008 at 05:32:52AM +0100, silverdr@inet.com.pl wrote: > .define MYSTRING "My string constant" Ok, that's different. This will work only with an include file. > Hm, that is interesting in any case. So the main difference > between .global and set of .imports/.exports is that one doesn't have > to care about whether particular module exports or imports the symbol > - it just comes out of the context (or rather content) of a particular > file? Smart indeed, and will certainly come in handy. The nice thing is that you can use the same "header" file for both purposes: The module that implements an API and others that use it. This will give you a great range of consistency between the modules. Constants necessary for the API will also go into the header file. It's very similiar to working with C header files. Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun Jan 27 13:39:01 2008
This archive was generated by hypermail 2.1.8 : 2008-01-27 13:39:05 CET