× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Jerry,

This works as it is returning the first two bytes of the input_string, but now when testing with variable length data the RdLine hangs until a minimum of 56 bytes are received.

rdline() is supposed to read until it gets a newline character. Perhaps it's not receiving the newline? You can tell it which character signals newline by passing the 5th parameter to rdline()


What I'd like to be able to do define the input_string as say 8192 (8k) and have it be able to accept a variable length input string with fewer (but up to) the 8k limit. So far I haven't seen any lab results that are larger than 5k but I know that pathology reports can be quite large, and then there are the simple tests that are usually less than 1k.

Okay...? Rdline() appears to handle strings up to 32766 chars long, so I don't see why this is a problem?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.