Posts: 72
Threads: 11
Joined: Feb 2005
[continue]
Well..
The bottleneck is convertion byte array to string.
Is there more fast way to covert it?
He-he.. yes, it is
dim sptr as byte ptr
dim arrptr as byte ptr
fsize=10
dim nString as string
dim inarray(0 to fsize) as byte
nString=string$(fsize,"-")
sptr = strptr(nString)
arrptr=@inarray(0)
for i=0 to 10
inarray(i)=30+i
next
nString=*arrptr
print "nString="; nString
Posts: 251
Threads: 22
Joined: Dec 2004
Quote:already done
-cheater
what about sharing?
Maybe it's a good idea to provide the latest fbc.exe (bleeding edge) for testing purposes :roll:
Posts: 1,439
Threads: 15
Joined: Apr 2003
diakin, could you please stop using light-colored text? It's nearly impossible to read with the Helius theme - nothing personal, but not everyone uses smartDark.
I agree with na_th_an that => shouldn't mean >=. That's a QB bug, IMHO.
Posts: 72
Threads: 11
Joined: Feb 2005
Quote:diakin, could you please stop using light-colored text? It's nearly impossible to read with the Helius theme - nothing personal, but not everyone uses smartDark.
I agree with na_th_an that => shouldn't mean >=. That's a QB bug, IMHO.
Helius.. smartDark..
I don't know this words before your message
But now I switch to Helius.. it seems better.. thanks
About => and >= well , I can use #define .. no, can't
#DEFINE => >=
definetst.bas(3) : error 4: Duplicated definition, found: '='
Really, it's not problem.
Posts: 489
Threads: 34
Joined: Jan 2005
Quote:Maybe it's a good idea to provide the latest fbc.exe (bleeding edge) for testing purposes :roll:
it's not that hard to do it yourself
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side
...phear
Posts: 251
Threads: 22
Joined: Dec 2004
Thanks.
Your help is truly appreciated.
Posts: 62
Threads: 0
Joined: Dec 2004
Quote:Possible in FB to add => as correct syntax?
IMHO this operator shouldn't be wasted this way. It could be used for other usefull things in the future. Perhaps something like a lambda-expression (function-literal).
(args) => expression
Or whatever.
Posts: 489
Threads: 34
Joined: Jan 2005
fsw:
no problem. :roll:
Download fbc.zip
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side
...phear
Posts: 251
Threads: 22
Joined: Dec 2004