LL_ValueGetString doesn't return value in 'Variable' string
This is a PowerBuilder Code.I want to extract the list of objects under folder.My problem is, when I call LL_ValueGetString(outValue, buffer, 255, out) the 'buffer' doesn't change, it's still space(255), but the 'Out' value has the really length of the document name./* Service Lapi */n_cst_lapi_document lnv_ll_Docum Long children, length, out, outvalue, ll_RcInteger iString buffer , ls_Null, ls_valuebuffer = Space(255)SetNull(ls_Null)ll_Rc = invo_lapi.LL_ValueAlloc(children)ll_Rc = invo_lapi.LL_ValueAlloc(length)ll_Rc = invo_lapi.LL_ValueAlloc(outvalue)ll_Rc = lnv_ll_Docum.LL_ListObjects(il_sessionid, il_parentvol, anv_attrib.il_ParentID , "DTree", ls_Null, lnv_ll_Docum.LL_PERM_FULL, children)invo_lapi.LL_ValueGetLength(children, length)For i = 0 to length - 1 ll_Rc = invo_lapi.LL_TableGetValue(children, i, "Name", outValue) ll_Rc = invo_lapi.LL_ValueGetString(outValue, buffer, 255, out) ls_value = LEFT(buffer, out)Next