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

[amibroker] Re: Detailed AFL Definitions



PureBytes Links

Trading Reference Links

Bruce,

Many of the concepts of AFL are essentially the same as the C/C++
programming languages. If you can't find what you want in the AB
documentation, try a Google search to pick up the equivalent thing in
C/C++.

For the output format string, take a look at the printf function:

http://www.cplusplus.com/reference/clibrary/cstdio/printf.html

Be aware though that not all of it may be supported in AFL, which only
has floating point numbers and no integers.

Specifically, %.1f%% means format a floating point number to display
one decimal place (that's the "%.1f" part) and then display a '%'
symbol. The reason the '%' symbol is doubled at the end is because
it's a special format specifier symbol, where the following characters
are assumed to be specifying a display format (as in the "%.1f" part),
so to actually print a '%' character, you need to put it twice.

If you displayed a variable with this that had the value "59.31764",
the output would appear as "59.3%".

Regards,
GP


--- In amibroker@xxxxxxxxxxxxxxx, "bruce12358" <maunders@xxx> wrote:
>
> Is there a document that completely defines the AFL?  Is there a list
> of all the escape codes? and what does this (%.1f%%) mean?  I have
> searched the AFL reference document and the Release notes to no avail.
> 
> Thanks,
> 
> Bruce
>




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/