PureBytes Links
Trading Reference Links
|
I hope so. My seriousness was not all that much aside. Looking in
the AB online code samples lots of folks don't seemed to see the need
for "pretty" code and comments. Some samples are pretty complex and
without indentation and comments it is a pain to try to understand.
I'll go back to sleep now.
Barry
--- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxx> wrote:
>
> My seriousness was aside.
>
> d
>
> > -----Original Message-----
> > From: amibroker@xxxxxxxxxxxxxxx
> > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Barry Scarborough
> > Sent: Sunday, June 22, 2008 5:49 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] Re: Nesting If's
> >
> > All seriousness aside -
> >
> > Maybe not Amibrokerians but real programmers do. It is much
easier to
> > read or debug "pretty" code than code that starts at the left
margin
> > on each line.
> >
> > Ditto with not commenting code. Wait a year and try to figure out
> > what you did.
> >
> > That is just lazy coding. Not taking the time to do it "right"
will
> > cost you more time later.
> >
> > "You pays your money and takes your choice."
> >
> > Barry
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@> wrote:
> > >
> > > Real Amibrokerians don't "prettify" nuttin'!
> > >
> > > d
> > >
> > >
> > > _____
> > >
> > > From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx]
> > On Behalf
> > > Of Herman
> > > Sent: Sunday, June 22, 2008 5:04 PM
> > > To: dingo
> > > Subject: Re: [amibroker] Nesting If's
> > >
> > >
> > >
> > > Not too many, if you "prettify" your code ;-)
> > >
> > >
> > >
> > >
> > > herman
> > >
> > >
> > >
> > >
> > > For tips on developing Real-Time Auto-Trading systems visit:
> > >
> > > http://www.amibroker.org/userkb/
> > >
> > >
> > >
> > >
> > > Sunday, June 22, 2008, 4:55:59 PM, you wrote:
> > >
> > >
> > >
> > >
> > > > Does anyone know the limit to how many If .. Else if 's there
can
> > be in
> > > one
> > >
> > > > statement?
> > >
> > >
> > >
> > >
> > > > If ()...
> > >
> > > > {
> > >
> > > > .
> > >
> > > > .
> > >
> > > > .
> > >
> > > > }Else If ()
> > >
> > > > {
> > >
> > > > .
> > >
> > > > .
> > >
> > > > .
> > >
> > > > }Else If ()
> > >
> > > > {
> > >
> > > > .
> > >
> > > > .
> > >
> > > > .
> > >
> > > > }Else If ()
> > >
> > > > {
> > >
> > > > .
> > >
> > > > .
> > >
> > > > .
> > >
> > > > }Else If ()
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > > TIA,
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > > d
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > > ------------------------------------
> > >
> > >
> > >
> > >
> > > > Please note that this group is for discussion between users
only.
> > >
> > >
> > >
> > >
> > > > To get support from AmiBroker please send an e-mail directly
to
> > >
> > > > SUPPORT {at} amibroker.com
> > >
> > >
> > >
> > >
> > > > For NEW RELEASE ANNOUNCEMENTS and other news always check
DEVLOG:
> > >
> > > <http://www.amibroker.com/devlog/> >
> > http://www.amibroker.com/devlog/
> > >
> > >
> > >
> > >
> > > > For other support material please check also:
> > >
> > > <http://www.amibroker.com/support.html> >
> > > http://www.amibroker.com/support.html
> > >
> > > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > > > http://groups.yahoo.com/group/amibroker/
> > >
> > >
> > >
> > >
> > > > Individual Email | Traditional
> > >
> > >
> > >
> > >
> > > > http://groups.yahoo.com/group/amibroker/join
> > >
> > > > (Yahoo! ID required)
> > >
> > >
> > >
> > >
> > > > mailto:amibroker-digest@xxxxxxxxxxxxxxx
> > >
> > > > mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
> > >
> > >
> > >
> > >
> > > > amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > >
> > >
> > >
> > >
> > > > http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> > >
> > >
> > >
> > > No virus found in this incoming message.
> > > Checked by AVG.
> > > Version: 8.0.100 / Virus Database: 270.4.1/1513 - Release Date:
> > 6/22/2008
> > > 7:52 AM
> > >
> >
> >
> >
> > ------------------------------------
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> > Yahoo! Groups Links
> >
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG.
> > Version: 8.0.100 / Virus Database: 270.4.1/1513 - Release
> > Date: 6/22/2008 7:52 AM
> >
>
------------------------------------
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|