> >BTW: Your 16f877 sample includes delay.jal twice. The compiler forgives > you, but this is not a good example (showcase) for beginners! > > Why doesn't the compiler give me an error for including delay.jal > twice? it should tell me "function already defined" >
Luckily it keeps a map of already included libs, and does not produce any error or warning. Else you wouldn't be able to use different libraries which include the same libs. Ex: ADC lib includes delay.jal. As i2c lib. So without this "map", you couldn't use both ADC and i2c at the same time. (and for user's sake, libraries themselves include their dependencies). Cheers,. Seb --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
