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

Re: [amibroker] Comma separator in the Year() output.



PureBytes Links

Trading Reference Links

Anthony,

There will be a flag in WriteVal() function, but I don't plan such flag for AddColumn.

BTW: I noticed that you use Year() to format the date for Title variable.
It is not neccessary. Much better method is using formatDateTime:

Title = Name() + " - " + WriteVal( DateTime(), formatDateTime );


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Anthony Faragasso" <ajf1111@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, February 21, 2003 6:22 PM
Subject: Re: [amibroker] Comma separator in the Year() output.


> Tomasz,
> 
> Couldn't you put in some type of Flag that surrounds the comma call  ...that if the
> Year()  function  or any other function where a comma is not needed is called... to
> disregard the comma ?
> 
> Thanks
> Anthony
> 
> Tomasz Janeczko wrote:
> 
> > The YEAR function gives a number.
> > Therefore it is treated like any other number.
> >
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > >
> > >
> > > -----Original Message-----
> > > From: Anthony Faragasso [mailto:ajf1111@xxxxxxxx]
> > > Sent: Friday, 21 February 2003 8:24 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] Comma separator in the Year() output.
> > >
> > > Tomasz,
> > >
> > > When I call the Year() function...the comma is placed there also...Year
> > > = 2,003.
> > >
> > >
> > > Thanks
> > > Anthony
> > >
> > >
> > > 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
> > > http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> > > 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 http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> >
> > 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 http://docs.yahoo.com/info/terms/
> 
> 
> 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 http://docs.yahoo.com/info/terms/ 
> 
> 
> 

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 http://docs.yahoo.com/info/terms/