Einzelnen Beitrag anzeigen
Alt 13.10.2012, 10:00   #162
leecher
Moderator
SETVOL

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

Set a searching order volume / pathname.

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

SETVOL changes a searching order volume / pathname to a new value.

The developer can alter where Open Access looks for, and saves it's data.

If you wanted to, the searching orders could be checked to see if they
contain A:\ using GETVOL. Then, if it did not exist, one of the pathnames
could be changed to A:\.

S y n t a x

Code:
bool = call('SETVOL' , 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
return the name of the first nickname.

string - the new DOS path.

R e t u r n s

A boolean variable.

B e i s p i e l / E x a m p l e

Code:
attach 'SETUP'
put call('SETVOL' , 4 , 'C:\BACKUP')     ! searching order 4 is changed
					 ! to C:\BACKUP\ 
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
GETVOL
GETNUMV
leecher ist offline   Mit Zitat antworten