I can see how this would work for strings that were less than 255 bytes in length. Would it still work if the string was exactly 255 bytes long? Methinks it might be possible to overwrite the length byte of the next string in memory, or some such error. Chris Stasny wrote: > Pascal to C is easy. > > t$ = "Fred" > poke (@t$+peek(@t$)),0 > strPtr& = @t$+1 > > or in 68K > > dim t$ > t$ = "Fred" > // assume that text is in t$ > beginassem > movea.l ^t$,a0 > move.b (a0),d0 > adda.l d0,a0 > move.b #0,(a0) > endassem > > Best, > > -STAZ ~)~ > > 800.348.2623 Orders http://www.stazsoftware.com > 228.255.7086 FAX mailto:staz@... > > -- > To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>