[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Re: Did you ever...



PureBytes Links

Trading Reference Links




<SPAN 
class=099040219-26102003>dimitris, my $.00002 is that SelectedValue(L) says more 
readably what the code is doing than StrToNum(NumToStr(L)). you're essentially 
using a side effect of that fact that NumToStr and StrToNum do this internally 
on their way to outputting single values rather than arrays.
<SPAN 
class=099040219-26102003> 
<SPAN 
class=099040219-26102003>dave
<BLOCKQUOTE 
>Tomasz,What 
  ReadMe do you use ?I use AmiBroker 4.46.0 Beta Read MeOctober 22, 
  2003 19:05 AFAIK, it is the most recent [for us]In this text, I 
  seeCHANGE LOGCHANGES FOR VERSION 4.46.0 (as compared to 
  4.45.0)New AFL functions*added NumToStr as synonum of WriteVal (as 
  this function did not 'write' anything, just returned string) *added 
  StrToNum( string ) - converts string to numbe and I do not see 
  something similar to # NumToStr uses "SelectedValue".#Am I missing 
  something or do you expect [from us] to read ReadMes from the future 
  ?On the other side, it seems you don't like so much the use of both 
  NumToStr(), StrToNum() functions. Is there any special reason ?Because 
  your Plot(SelectedValue(L),"Moving Line",4,1);is one line, just 
  like thePlot(StrToNum(NumToStr(L)),"Moving Line",4,1);and I can not 
  see what is "simpler".If there are some dangers/caveats for both 
  NumToStr(), StrToNum() functions please advise.Dimitris 
  Tsokakis--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" 
  <amibroker@xxxx> wrote:> Dimitris,> > As 
  written in the read me NumToStr uses "SelectedValue".> > Exactly 
  the same could be achieved simpler:> > Plot(C,"C",1,64);> 
  Plot(SelectedValue(L),"Moving Line",4,1);> > > Best 
  regards,> Tomasz Janeczko> amibroker.com> ----- Original 
  Message ----- > From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>> 
  To: <amibroker@xxxxxxxxxxxxxxx>> Sent: Sunday, October 26, 2003 
  6:50 PM> Subject: [amibroker] Did you ever...> > > 
  > ...need this ?> > > > Plot(C,"C",1,64);> > 
  Plot(StrToNum(NumToStr(L)),"Moving Line",4,1);> > > > Move 
  your cursor from bar to bar and see...> > [amibroker 4.46.0 
  required]> > Dimitris Tsokakis






Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.