[futurebasic] Re: [FB] A Faster Blockmove ?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2000 : Group Archive : Group : All Groups

From: Chris Stasny <staz@...>
Date: Fri, 4 Aug 2000 14:34:27 -0500
It's not going to work. In...

MyString2Ptr&;PEEK(@MyString1$) = @MyString1$

The ";" count must be a numeral or a constant.


>Hi Chris,
>
>The problem is that var can't be an address.
>Well, I'm not sure now...
>I think I did try it one day (?)
>
>I'm away from my mac and am writing code
>in Word97 on a PC...BAD! really BAD!
>
>Could someone try this test program and tell
>me if it works please ?
>
>'------------------------------------------------
>DIM MyString1$, MyString2$
>DIM MyString2Ptr&
>
>MyString1$ = "Doobidoo"
>MyString2$ = ""
>
>MyString2Ptr& = @MyString2$
>
>MyString2Ptr&;PEEK(@MyString1$) = @MyString1$
>
>PRINT MyString2$      'Should print "Doobidoo" ?
>'------------------------------------------------
>
>Thanks,
>Sylvain
>
>
>
>
>>Sylvain,
>>
>>The notation of:
>>
>>var;length = address&
>>
>>is optimized for small amounts of data in FBII. Not sure where a breakeven
>>point would be reached vs. BlockMove tho.
>>
>>Chris
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
>--
>To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>



Best,

-STAZ  ~)~

800.348.2623 Orders  http://www.stazsoftware.com
228.255.7086 FAX     mailto:staz@...