E r g e b n i s / R e s u l t
Pass back the search path nickname for a given file
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 searches for the given file in search path and returns the path nickname.
S y n t a x
Code:
fnamep = call("whereis",fname) P a r a m e t e r
fname - The file name of the file where to search the path nickname for
R e t u r n s
The file including the nickname or an empty string, if not found.
B e i s p i e l / E x a m p l e
Code:
attach "filecomp.oac"
fname2 = 'test2.txt'
fname2 = call("whereis",fname2)
if length(fname2) > 0
ok = call("filedel",fname2)
end if
detach "filecomp.oac"