[futurebasic] Re: [FB] Long Strings revisited

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

From: Jay Reeve <jktr@...>
Date: Mon, 14 Jun 99 21:57:22 -0500
Sean,

Congratulations on getting your code to work. As long as it does work, 
you may not want to mess with it any more, but in the interests of clean, 
efficient programming, I invite you to revisit this loop:

>  FOR count = 0 TO (length%-1)
>    char% = PEEK(pointer&+count)
>    FN putChar(char%)
>  NEXT
>  
You don't include FN putChar in your posted code--is it one of Tedd's? 
Anyway, it should be easy to write a FN putStr(pointer,length) that would 
BLOCKMOVE your string from the edit field handle. IF you're interested, 
and would like some help in doing that, send me a copy of FN putChar and 
I'll see what I can do.

 0"0
 =J= a  y
  "