> It perfectly makes sense to have a cache in a separate lib but is it
> possible
> to call e.g glcd_write_data() on the device when the cache is included
> before the device ?
> Do I miss something?

Yes, you can. Here's an example:


-- in the sampe file
include glcd_cache
alias glcd_write_pixel is glcd_write_cache

include glcd_nokia_3310



-- then inside nokia lib
if !defined(glcd_write_pixel) then
   procedure glcd_write_pixel(byte in x,byte in y,byte in color) is
   end procedure
end if

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to