start and count must be non-negative exact integer objects. string must have a length of at least start + count. start defaults to 0. count defaults to
(string-lengthstring)- start$. Theput-stringprocedure writes the count characters of string starting at index start to the port. Theput-stringprocedure returns an unspecified value.
datum should be a datum value. The
put-datumprocedure writes an external representation of datum to textual-output-port. The specific external representation is implementation-dependent. However, whenever possible, an implementation should produce a representation for whichget-datum, when reading the representation, will return an object equal (in the sense ofequal?) to datum.Note: Not all datums may allow producing an external representation for whichget-datumwill produce an object that is equal to the original. Specifically, NaNs contained in datum may make this impossible.Note: Theput-datumprocedure merely writes the external representation, but no trailing delimiter. Ifput-datumis used to write several subsequent external representations to an output port, care should be taken to delimit them properly so they can be read back in by subsequent calls toget-datum.