Chapter Contents

Previous

Next
Block: _getValue

Block: _getValue



Returns the numeric value assigned to a block

Inherited: from Widget


Syntax
Details
Example

Syntax

CALL NOTIFY (block-name, '_getValue', block-value);

Argument Type Description
block-value
N returns the numeric value assigned to the block. This value is blank if the block is not selected.


Details

If a block has been assigned a character value in the Value on Selection window, the _getValue method causes a program halt. Use the _getText method to return the value of a block that has a character value.


Example

If the value 4 was assigned to the block in the Value on Selection window, _getValue returns the value 4 and assigns it to the variable VALUE:

   call notify('block1','_get_value_',value);
   if (value=4) then
      _msg_='You have made reservations for four.';


Chapter Contents

Previous

Next

Top of Page

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