self._ap.SetStrArray(listName, v)
pass
- v = _ap.GetStrArray(listName)
+ v = self._ap.GetStrArray(listName)
v.append(value)
self._ap.SetStrArray(listName, v)
return (len(v)-1)
i = 0
while i<length:
names.append(v[i])
- i+=1
+ i+=2
pass
return names
i = 1
while i<length:
values.append(v[i]+1)
- i+=1
+ i+=2
pass
return values
if(!_ap->IsSet(entry, PT_STRARRAY)) return v;
v = _ap->GetStrArray(entry);
int length = v.size();
- for(int i = 0; i<length; i+=1) {
+ for(int i = 0; i<length; i+=2) {
names.push_back(v[i]);
}
return names;
if(!_ap->IsSet(entry, PT_STRARRAY)) return v;
v = _ap->GetStrArray(entry);
int length = v.size();
- for(int i = 1; i<length; i+=1) {
+ for(int i = 1; i<length; i+=2) {
values.push_back(v[i]);
}
return values;