Library /sys$common/syshlp/basichelp.hlb
Graphics, SET Statements, INITIAL_STRING

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  The SET INITIAL STRING statement allows  you  to  specify  an  initial
  string  expression  that  is  presented to a user when string input is
  requested.  A user can accept the  initial  string  or  enter  another
  string.   VAX  BASIC  concatenates  the  user-supplied  string  to the
  initial string.

  Example

  PROGRAM select_an_item
  DECLARE STRING users_string
  SET STRING ECHO AREA 240,767,0,240
  SET INITIAL STRING "Enter YES or NO"
  LOCATE STRING users_string
  IF RIGHT$(users_string,17) = "YES"
    THEN DRAW Main_menu
    ELSE EXIT PROGRAM
  END IF

  Additional Information (explode) :

  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.