E r g e b n i s / R e s u l t
Set one of the searching order nicknames
B e s c h r e i b u n g / D e s c r i p t i o n
The SETNICK function changes one of the searching order nicknames.
This allows the developer to change one of the nicknames from inside a
program, without a user prompt. This may prove very useful just before
a BROWSE command as this displays the nickname:filename.
S y n t a x
Code:
bool= call('SETNICK' , searching_order_number , string) P a r a m e t e r
searching_order_number - is a number in the range 1 to the number of
searching orders returned by GETNUMV.
Negative numbers are treated as positive ones
and using a number outside of the range will
set the name of the first nickname.
string - the new nickname, this will be converted to
uppercase and truncated to 7 characters if it
is too long.
R e t u r n s
A boolean value.
B e i s p i e l / E x a m p l e
Code:
attach 'SETUP'
put call('SETNICK' , 1 , 'FRED') ! sets the first searching order
! nickname to FRED
detach 'SETUP' Q u e r v e r w e i s / C r o s s R e f e r e n c e
GETNICK