[futurebasic] Re: [FB] [X-FB] Strings, Communication, Resourc

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 1999 : Group Archive : Group : All Groups

From: Greg_Neagle@...
Date: Mon, 07 Jun 1999 14:06:13 -0700
On 6/7/99 at 12:49 PM, Tedd wrote:

> So... How does one grab the contents of a buffer? How does one know how
> much is in the buffer? These are the questions that I have.

One grabs the contents of the buffer by reading all available characters.
One determines how many charatcers are available by using the LOF function if
you are using FB's serial routines, or FN SerGetBuf&(port&) id you are using my
CTB-aware serial code.

- via BulkRate