home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
CSAPE32.ARJ
/
SOURCE
/
CSSRC
/
SDSETFW.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-28
|
564b
|
30 lines
/*
sdsetfw.c 4/12/88
% sed_SetFieldWidth
C-scape 3.2
Copyright (c) 1986, 1987, by Oakland Group, Inc.
ALL RIGHTS RESERVED.
Revision History:
-----------------
3/28/90 jmd ansi-fied
*/
#include "sed.h"
#include "fldpriv.h"
void sed_SetFieldWidth(sed_type sed, int fieldno, int width)
/*
Sets the width of the specified field.
Makes sure fieldpos is visible.
*/
{
menu_SetFieldWidth(sed_GetMenu(sed), fieldno, width);
/* call goto_char to ensure visibility of fieldpos */
sd_goto_char(sed, sed_GetRecordPos(sed));
}