Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File13.1.1 AV protocol, Quoting in TOS Quoting in AV protocol means that filenames can optionally be enclosed in single quote-marks (e.g. 'name'). However, this is permitted only if both parties (Server and Client) are of the same mind, i.e. both understand it. So why should one want to do this and how does it work? Let us assume that the Server sends a filename to the application which contains a space. An application that does not understand quoting will take this as two filenames having been passed instead of one, since normally spaces are used to separate filenames. But if the application does understand quoting (bit 4 in its protocol status is set), then the Server will enclose the filename with 's and the application will recognize that the space belongs to the filename. The same applies for filenames that are sent by an application to a Server, of course. The question remains of how one sends single quote-marks. Well, such characters forming part of the filename are simply doubled up. So, for instance, Zorro`s hypertext will be passed as 'Zorro's hypertext'. So in such cases the same method is used as for the Drag&Drop protocol. See Also: AV_PROTOKOLL VA_ACC_QUOTING(a) VA_SERVER_QUOTING(a) VA_PROTOSTATUS Drag&Drop protocol