convert (fmt,str) -- converts a string str containing data transmitted from the engine in the engine communication protocol. The argument fmt is a recursive description of the format to be used for the conversion.
The method named ConversionFormat is used to provide a conversion format
A format of the form
singleton fspecifies that a sequence has been transmitted, each element of which should be converted with the format f. See transmitting a sequence.
A format of the form
(g,x,y,z,...)where g is a function, specifies that consecutive items are to be converted with the formats x,y,z,..., and the results of conversion are to be passed as arguments to the functin g for processing.
A format of the form
(n,x,y,z,...)where n is an integer, specifies that consecutive items are to be converted wtih the formats x,y,z,..., a total of n times. The results are to be placed in a sequence.
A format consisting of the symbol ConvertIntegerspecifies that an integer has been transmitted. See transmitting an integer.
Functions which assemble formats.
A format is usually stored under the key ConvertToExpression in the apprpriate class.
See also: