Hello,

Generally speaking AFL is not really object-oriented. Most traders are not 
aware of object-oriented
programming paradigm and find it complex. That's why vast majority of AFL is 
based on functions.
In this area AFL is most similar to plain C language (*not* C++).

But.... at the same time AFL supports OLE/COM objects 
http://www.amibroker.com/guide/a_aflcom.html
and some interfaces are based on COM
such as automatic trading interface http://www.amibroker.com/at/  or custom 
backtester interface:
http://www.amibroker.com/guide/a_custombacktest.html  or OLE automation 
interface
http://www.amibroker.com/guide/objects.html

These areas use object-oriented programming paradigm.

So although you can not create your own classes directly in AFL, you can *USE* 
any COM object/class.

Best regards,
Tomasz Janeczko
amibroker.com
  ----- Original Message ----- 
  From: Howard B 
  To: [email protected] 
  Sent: Sunday, August 05, 2007 5:23 PM
  Subject: Re: [amibroker] Re: Newbe Question Object Orientation in AFL


  Hi Franz --

  Yes, it does.  Tomasz is much better qualified to explain to you than I.   

  But, again, consider exploring the high level capabilities of AmiBroker -- 
you may not need to program at the C++ level. 

  Howard




  On 8/5/07, firefly6666 <[EMAIL PROTECTED]> wrote:
    Thank you 
    very much Howard for your answer, i maybe must formulate my question
    again because it seems to be spongy formulated. I hope i have not
    wasted your time by formulating a spongy question i apologize for that.

    What i really want to ask is what is objected oriented at AFL,
    i have red that AFL is a object oriented language but on the first
    glance it seems to be a procedural script language. A object oriented
    language has features like polymorphism, classes and instances.
    So does AFL uses features like classes ?

    Regards 
    Franz




   

Reply via email to