Converts an SRP List back into a BASIC+ variable.

Syntax

Var = SRP_List_GetVariable(Handle, Delim)

Returns

The BASIC+ representation of the list.

Parameters

ParameterDescription
HandleHandle to an existing SRP List (REQUIRED)
DelimDelimiter to insert between elements (OPTIONAL, @FM by default)

Remarks

The SRP_List_GetVariable method converts an SRP List back into a BASIC+ delimited list. The list will be delimited by the character you pass through the Delim parameter. If you omit the Delim parameter, then the list will be delimited by field marks.

IMPORTANT: You should always release the handle to an SRP List when you no longer need it by calling SRP_List_Release.

Examples

// Get the list delimited by @FM
List1 = SRP_List_GetVariable(Handle);

// Get the list delimited by @SVM
List2 = SRP_List_GetVariable(Handle, @SVM);

// Get the list delimited by commas
List3 = SRP_List_GetVariable(Handle, ",");
  • No labels