2.4 File Name Inheritance
(empty) string does not have a name field, we insert the string
" into the name field, resulting in the string "
Moving down to the next row, we encounter the constant string
". This string consists of an empty directory and name field, but
" file extension. As our current string "
", does not
already have a file extension (i.e. the file extension field of our current
string is empty), we add in "
", resulting in the string
". Next we encounter the "
" field which is the input
" consisting of a directory
", a name field "
", and a file
extension field "
". Our "
" string already has name
and file extension fields, but its directory field is empty, and so we add
in the directory field from the input file specification, resulting in the
". Finally, we hit the
default directory specification, which is (say) "
However, as the directory field of our walrus string is already full, it
has no effect.
In general, there is no need to remember the exact details of
FunnelWeb s filename inheritance. The important thing is to know that
it exists, and to use it.
Copyright Ross N. Williams 1992,1999. All rights reserved.
http://www.ross.net/funnelweb/reference/interface_inheritance.html (2 of 2) [3/3/2000 10:48:58 PM]