PureBytes Links
Trading Reference Links
|
Tomatz,
1) writing a[i] = something(a[i-1]) is maybe
nicer but the need to add the FOR-NEXT syntax is less elegant and
longer. Yes it's more standard for programming language
but less standard for mathematical formulation of numerical series
data.
2) Also the FOR-NEXT in AFL will have the
same problem of FOR-NEXT in JScript/VBScript. The efficiency will be
similar. But an implementation in C++ will be as efficient as any array
function in AFL.
3) This also doesn't mean that loop and array item accessing
in AFL is useless. It can be used for many other things and will certainly
accelerate system development if we don't have to go into JScript, VBScript
or C++.
Sorry Tomatz, but I couldn't stop
myself to answer !
Thanks again for taking the time to respond !
Jon
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Tomasz Janeczko
To: <A title=amibroker@xxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Friday, September 07, 2001 3:09
PM
Subject: Re: [amibroker] Another PREV
example
Dear Jonf,
If I wanted to implement a PREV-like
functionality I would simply
add just FOR-NEXT iteration and the wayto
access individual array elements.
Don't you think that writing a[ i ] =something(
a[ i - 1 ] ) is both nicer and
more "standard-looking" way?
Anyway - DevKit is on the way so stay
tuned.
Best regards,Tomasz Janeczko===============AmiBroker - the
comprehensive share manager.<A
href="">http://www.amibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
jonf
To: <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Friday, September 07, 2001
8:16 PM
Subject: Re: [amibroker] Another
PREV example
Tomatz,
I agree that it's against the execution model of AFL and I
can imagine the amount of work required to change the execution model. For
this reason, it's not worthwhile changing
it.
But I disagree that a linear implementation of
PREV in C is less efficient or simpler than using JScript/VBScript
!
In any case, unless other user want to pursue in this
discussion, there is no point of continue this thread.
I appreciate the way AmiBroker is
implemented now and I am anxious to see version 3.8 when DevKit will provide
a way to implement anything we want at the speed only limited to the C/C++
efficiency.
Thanks again !
Jon.
|