| Previous | Menu | Next |
|
The following code fragement packs a list of strings in ECDL format into an EV_AttrValue. EV_AttValue *responseList; char responseString[1000]; char text1[] = "string1"; char text1[] = "string2"; sprintf(responseString,"[\"%s\", \"%s\"]",text1,text2); if (EVparseFormattedValue(responseString, &responseList) == ECS_SUCCESS) ... Note that EV_parseFormattedValue() allocates memory for an EV_AttrValue. When this storage is no longer needed, it should be released by calling EV_deleteValue(). |