Vidíte historickú verziu tejto stránky. Pozrite si aktuálnu verziu.

Porovnať s aktuálnou verziou Zobraziť históriu stránky

« Predchádzajúce Verzia 3 Aktuálny »

%JSON_ArrayClear function


Function

Clear JSON array.

Declaration
%JSON_ArrayClear(
    INT in handle
 )
Parameters
handleHandle to JSON array.
Return value
None


Description

Funcion removes all items from JSON array.

Exception is thrown if handle to array is invalid.

Example
 INT _arr
 _arr := %JSON_CreateArray()
 
 %JSON_ArraySetLength(_arr, 1)
 %JSON_ArraySetValue(_arr, 1, 1.234)
 %JSON_ArrayClear(_arr)

 %JSON_FreeArrayHandle(_arr)
  • Žiadne štítky