Circular.Read (gb.data)

Function Read ( ) As Variant

Read a value, i.e. return the element at the read pointer and advance the pointer. If the read pointer reaches the write pointer (the Circular becomes empty), NULL is returned.

You currently can't "block" for elements in Read. If you need that facility, consider using a OPEN PIPE instead.

See also