[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Positioning



Dear SRFI-56 subscribers,

Would it not be a good idea to add

  file positioning primitives

to an implementation for binary i/o.

This would make 'record based' i/o possible, with
seeks to records, etc; and it would be a logical
next step, because binary i/o provides predefined
sizes for 'variable types'.

Bigloo has for instance:

(input-port-position port)
(output-port-position port)

Return the current position (a character number) in the port.

(set-input-port-position! port pos)
(set-output-port-position! port pos)

Set the current position (a character number) in the port.

Best regards,
--
Hans Oesterholt-Dijkema