"Nick Maclaren" <[EMAIL PROTECTED]> wrote: > "Hendrik van Rooyen" <[EMAIL PROTECTED]> writes:
> |> When I looked at the above, I went "tilt" - > > Yes, you are confused :-) Neither the agents nor strings take the > other as 'arguments', but are effectively methods of the I/O object. > Let's consider a modern example: a text editor with hyperlink > facilities. Note that I am referring to the hyperlinks of the kind > that can occur anywhere, and not those associated with a particular, > usually highlighted, word. > > Text is a sequence of letters/words/sentences/paragraphs/markup/etc.; > let's assume words, as strings, for the purpose of argument. Words > can be inserted, deleted, changed etc. > > Hyperlinks are agents and can be added at any point. Their only > relationship with the text is the position at which they occur (i.e. > none or more may occur between any two consecutive words). > Thanks that helps - I really had the queen cat by the balls... - Hendrik -- http://mail.python.org/mailman/listinfo/python-list