DataBasic Reference > Statements and Intrinsic Functions > S > SEQS Function

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

SEQS Function (DataBasic) (m618703+seqs_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

SEQS Function

Converts ASCII or multi-byte characters in a dynamic array to the corresponding character codes.

Syntax

SEQS(dynArray{, charSize})

Syntax Elements

dynArray A DataBasic expression that evaluates to a dynamic array.

charSize Optional. A positive integer in the range 1 to 6, specifying the size of the character (default, 1). This parameter is intended for future use with multi-byte characters.

Return Value

A dynamic array with the same structure as dynArray, but with the first character in each element replaced by the corresponding character code.

Notes

Comments

Reality does not currently support multi-byte characters; however, SEQS may be used for binary to decimal conversions, where charSize is the number of bytes in the binary fields.

SEQS is the inverse of the CHARS function.

Example

ARY = "R":@VM:"e":@VM:"a":@VM:"l":@VM:"i":@VM:"t":@VM:"y"
NEWARY = SEQS(ARY)

Sets NEWARY to "82VM101VM97VM108VM105VM116VM121".

RealityV15.0Comment on this topic