On Tue, 13 May 2003, Bob Blick wrote: > Does the latest version of PICC include a pragma for doing switch-case > with a lookup table instead of the clever way it defaults to? No, it does it automatically. It appears to do a code size analysis and will use either a lookup table or the "old" method, depending on which generates less code. You can look at your assembly listing to see what it's done. -- John W. Temples, III -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics