Hi Rob, I did, and mostly use block in case statement (to group multiple lines in a "case"). Everything defined in a "block" will only be visible in that block. So I wonder how you'll be able to protect internal.
Cheers, Seb -- Sébastien Lelong http://www.sirloon.net http://sirbot.org 2009/9/14 Rob Hamerling <[email protected]> > > > Hi guys, > > In Jallist William brought up a point: > > > Is it possible to define constants and variables at the > > module/include level, which only have local scope? Also of interest > > would be functions and procedures. > > It made me think this would be a good thing to protect 'internal' > variables, procedures and functions in libraries - for which we now use > a naming convention starting with an underscore character - from access > by an application program. Did anybody already try the 'block' keyword > for this purpose, as suggested by Vasile? > > Regards, Rob. > > > -- > Rob Hamerling, Vianen, NL (http://www.robh.nl/) > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
