ue.1072

User Exit/BASIC Program, Releases: OA/RT, R83 3.1, and R83 2.2

Sorts a dynamic array.

Syntax

sorted.dynamic.array = oconv(dynamic.array, 'u1072')

Description

returns a dynamic array, sorted in ascending order.

Each element sorted must be separated by an attribute mark.

Example

equ am to char(254)
a = 'abcd': am: 'zxy': am: 'hijk': am: 1234: am:
789
b = oconv(a, 'u1072')

b will now contain:

1234 :am: 789 :am: abcd :am: hijk :am: zxy

See Also

Command Name Type Description
basic.user.exits User Exit List of Pick/BASIC user exits.
basic.sort Function Sorts a string of attributes or values.
pc.o Processing Code Sorts values in ascending order.
pc.ms Processing Code Mask sequence function.
basic.locate Statement Locates element in string expression.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.