Einzelnen Beitrag anzeigen
Alt 13.10.2012, 09:51   #156
leecher
Moderator
SETAPP

E r g e b n i s / R e s u l t

Set the default appointments filename

B e s c h r e i b u n g / D e s c r i p t i o n

This function sets the searching order and filename of the current
appointments file.

Using this function, the developer can change the currently active
appointments file from inside a program. Different users of a system
could be given unique appointment files, maintained via the application.

S y n t a x

Code:
bool = call('SETAPP' , string)
P a r a m e t e r

string - a string containing the new appointments filename. A nickname
can be specified.

The file must be the same format as the APPTSPI.DF file.

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'
a = call ('SETAPP' , 'FILES:NEWAPPT.DF')  ! changes the default file 
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
GETAPP
leecher ist offline   Mit Zitat antworten