/ Get the Nth value of an Array. */ /
| 1307 | /* Get the Nth value of an Array. */ |
| 1308 | /***********************************************************************/ |
| 1309 | PJVAL JARRAY::GetArrayValue(int i) |
| 1310 | { |
| 1311 | if (Mvals && i >= 0 && i < Size) |
| 1312 | return Mvals[i]; |
| 1313 | else if (Mvals && i < 0 && i >= -Size) |
| 1314 | return Mvals[Size + i]; |
| 1315 | else |
| 1316 | return NULL; |
| 1317 | } // end of GetValue |
| 1318 | |
| 1319 | /***********************************************************************/ |
| 1320 | /* Add a Value to the Array Value list. */ |
no outgoing calls
no test coverage detected