CLANAM

Contents


clanam returns the names of the variable classes that are accessible in the current application.

 

Syntax

   clanam(< class | num_exp >)

 

Parameters

Element

Description

Restrictions

class

Describes the abbreviation of a class

The class must exist.

num_exp

Numeric expression that describes a class

exp_num >= 0

 

Examples

   # List of classes that are accessible in the current application
    Libelle I, NBCLA
    I = 1:  NBCLA = 200
    Repeat
       If clalev( I) <> 0
          Infbox clanam(I)
       Endif
       I += 1
    Until I > NBCLA

 

Description and Comments

clanam returns the name of the class for which the abbreviation or internal number is given in parameters. The internal number (used by Adonix) corresponds to the line number in the list of variable classes displayed in the debugger, and starts with one (1). No error is returned when a parameter does not correspond to a single accessible class, since the function returns an empty string ("").

The result of the function is of the Char type.

 

Associated Errors

Error

Description

ERDOM (50)

exp_num < 0.

 

Associated Keywords

CLALEV - CLASIZ - CLANBS - CLAVAR


CONTENTS


Copyright © Sage 1999 - 2007