{\r
throw new Error("Implementation error. Invalid operation string.");\r
}\r
- if (range <= 0)\r
+ if (range==0)\r
+ {\r
+ return; // No Operation to add.\r
+ }\r
+ if (range < 0)\r
{\r
throw new Error(\r
- "Invalid range string (must be non-zero positive number)");\r
+ "Invalid range string (must be zero or positive number)");\r
}\r
int lngth = 0;\r
if (operation == null)\r