ASTRING()

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Function to return an array as a character string, with the elements separated by a comma or specified character


Syntax

ASTRING(<array>[, <expC>])


See Also

AADD(), AAVERAGE(), ABROWSE(), ACHOICE(), ACOL(), ACOPY(), ADEL(), ADESC(), ADIR(), AELEMENT(), AFIELDS(), AFILL(), AINS(), ALEN(), AMAX(), AMIN(), APPEND FROM ARRAY, AROW(), ARRAY(), ASCAN(), ASIZE(), ASORT(), ASTORE(), ASUBSCRIPT(), ASUM(), COPY TO ARRAY, DECLARE, DIMENSION, GATHER, IN_ARRAY(), IS_ARRAY(), LOCAL, MENU AT, MENU BROWSE, MENU FIELDS, MENU FILES, MENU FROM, MENUITEM(), PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, SCATTER

Description

The ASTRING() function reads the array <array> and returns the elements as a character string. The elements are comma-separated unless <expC> is specifed, in which case they are separated by <expC>.


Example

menu fields select "+"
declare aMenu[512]
nelements = astore(aMenu, menuitem(), "+")
backtostring = astring(aMenu, "+")


Products

Recital Server, Recital