home *** CD-ROM | disk | FTP | other *** search
- /*
- sdgtonam.c
-
- % sed_GotoNameField
-
- C-scape 3.2
- Copyright (c) 1988, by Oakland Group, Inc.
- ALL RIGHTS RESERVED.
-
- Revision History:
- -----------------
- 3/24/89 jmd added sed_ macros
- 3/28/90 jmd ansi-fied
- */
-
- #include "sed.h"
-
- int sed_GotoNameField(sed_type sed, char *name)
- /*
- Go to a field given its name.
- */
- {
- int fldno;
-
- if ((fldno = menu_GetNameNo(sed_GetMenu(sed), name)) <= -1) {
- return(SED_STUCK);
- }
- else {
- return(sed_GotoField(sed, fldno));
- }
- }
-
-