507:fc76d38c3530 | 508:7ace3537a560 |
---|---|
70 | 70 |
71 // Get the CODE tag | 71 // Get the CODE tag |
72 if (!parseLDConfigTag (pars, "CODE", valuestr)) | 72 if (!parseLDConfigTag (pars, "CODE", valuestr)) |
73 continue; | 73 continue; |
74 | 74 |
75 if (!isNumber (valuestr)) | 75 if (!numeric (valuestr)) |
76 continue; // not a number | 76 continue; // not a number |
77 | 77 |
78 // Ensure that the code is within [0 - 511] | 78 // Ensure that the code is within [0 - 511] |
79 bool ok; | 79 bool ok; |
80 code = valuestr.toShort (&ok); | 80 code = valuestr.toShort (&ok); |