Problem with switch/case statement

Dear Sir,

I'm having a problem with the switch / case condition at the end of the statement. I have to get around, to run well.
Returns a memory problem.

// THIS WORK WITH MEMORY PROBLEMS

switch (i) {

...
case 0x0218: case 0xA3B4: case 0xE03C: case 0xE066: case 0x106A:
case 0x1133: case 0x1A4A: case 0x1E5D:
case 0xAA25: case 0xE227: case 0x1229: case 0xA25D:
case 0x26AC:
// LONG DATA +/- 800 CASES
...
case 0x064:
case 0x12FC: case 0x1B37: case 0x1C5A: case 0x1D64:
case 0x2C32: case 0x2B3F: case 0x2C40:
case 0x33C5: case 0x3B3E: case 0xA33F: case 0x36C1:
case 0xC433: case 0x4F35: case 0x439A: case 0x45C3:
case 0x55B3: case 0x5F5C: case 0x567A: case 0xA571: case 0x5C73:
case 0x671:
return 142;

default: return 0;

// THIS WORKS...

switch (i) {

...
case 0x0218: case 0xA3B4: case 0xE03C: case 0xE066: case 0x106A:
case 0x1133: case 0x1A4A: case 0x1E5D:
case 0xAA25: case 0xE227: case 0x1229: case 0xA25D:
case 0x26AC:
// LONG DATA +/- 800 CASES
...
default: switch (i) {
case 0x064:
case 0x12FC: case 0x1B37: case 0x1C5A: case 0x1D64:
case 0x2C32: case 0x2B3F: case 0x2C40:
case 0x33C5: case 0x3B3E: case 0xA33F: case 0x36C1:
case 0xC433: case 0x4F35: case 0x439A: case 0x45C3:
case 0x55B3: case 0x5F5C: case 0x567A: case 0xA571: case 0x5C73:
case 0x671:
return 142;

default: return 0;
}

Thanks,
Helder Rodrigues

Returns a memory problem.

I have no idea what that means.

Please remember to use code tags when posting code.

Don't post snippets.

          return 142 Lacks a semicolon

i just made a brief copy the ; is there

suminonif:
i just made a brief copy the ; is there

Get back when you've got a proper question and set of details

// LONG DATA +/- 800 CASES

enough said

READ AND FOLLOW THE POSTING RULES THEY APPLY TO YOU!

Mark

WITH THE PROBLEM

Sketch uses 5326 bytes ...
Global variables uses 1894 bytes (92%) ...
Low memory available, stability problems may occur.

WITH THE SUB SWITCH/CASE

Sketch uses 8054 bytes ...
Global variables uses 264 bytes (12%) ...

Please start making sense