Re: [cc65] ca65 question

From: <silverdr1inet.com.pl>
Date: 2008-01-27 17:57:48
On 2008-01-27, at 13:38, Ullrich von Bassewitz wrote:

>
> 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.

OK. That is how it looked to me. Basically I only wanted confirmation  
from the authoritative source.

>> 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.

Exactly - that's what I understood and it's really smart (even if  
*NOW* seemingly almost obvious ;-) way to deal with the evergrowing  
amount of interdependent .exports and .imports in an efficient and  
elegant way. Even if it doesn't address my original question, I find  
it immediately an invaluable, general purpose hint.

TNX.
----------------------------------------------------------------------
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 17:58:00 2008

This archive was generated by hypermail 2.1.8 : 2008-01-27 17:58:03 CET