/ Return all keys as an array. */ /
| 1084 | /* Return all keys as an array. */ |
| 1085 | /***********************************************************************/ |
| 1086 | PJAR JOBJECT::GetKeyList(PGLOBAL g) |
| 1087 | { |
| 1088 | PJAR jarp = new(g) JARRAY(); |
| 1089 | |
| 1090 | for (PJPR jpp = First; jpp; jpp = jpp->Next) |
| 1091 | jarp->AddArrayValue(g, new(g) JVALUE(g, jpp->Key)); |
| 1092 | |
| 1093 | jarp->InitArray(g); |
| 1094 | return jarp; |
| 1095 | } // end of GetKeyList |
| 1096 | |
| 1097 | /***********************************************************************/ |
| 1098 | /* Return all values as an array. */ |
no test coverage detected