Chapter Contents

Previous

Next
Widget Class: _getText

Widget Class: _getText



Returns the character value assigned to an object


Syntax
Details

Syntax

objectName._getText( value );

Argument Type Use Description
value Character Output returns the value of the object (for legacy class support)


Details

If the object represents a numeric value, the _getText method causes a program halt. Use the _getValue method to return a numeric value.

This method is mainly used within other methods because the value of an object is not directly accessible. The value of an object is available in the frame's SCL program by using the name of the object.

Example

A SAS/GRAPH Output object has a character value whose value represents the name of the Grseg entry being displayed. To get the name of the Grseg entry, use the _getText method:

length text $40;

graph-id._getText(text);
put 'The name of the GRSEG entry is' text;


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.