Paul --
I appreciate your response. However, all those articles assume an understanding of computer lingo way beyond my own.

I have been using OLE objects only within .afl code with statements such as:
AB = CreateObject("Broker.Application");
AA = AB.Analysis;
AA.LoadSettings();
and
ADoc = AB.ActiveDocument;
ADoc.Name = "SPY";
and
AB.RefreshAll();

All of the above were 'given' to me by helpers on this forum. I never would have been able to get this far, had I only read "AmiBroker's OLE Automation Object Model" even a thousand times. I don't want to have to leach off of them forever. So, right now, I'm just trying to find out what is meant by the terminology used in that documentation.

For example, what precisely does "AS Date" mean? Is it AB's way of expressing a date, such as 951231 for 12/31/1995, or is perhaps Date as used in Jscript or VBscript? All three are different. One other example: the terms FileName and pszFileName are used throughout. Precisely, what do they mean and what is the difference between these two terms?

I guess what I am really looking for is a precise explanation starting at the beginning: something like "AmiBroker Custom Backtester Interface" by Wayne (GP),
http://www.amibroker.org/userkb/2008/03/16/amibroker-custom-backtester-interface-2/

Thank you for your help,
-- Keith


On 5/17/2010 21:41, paultsho wrote:

if you just want to know COM datatype, try this one http://supportline.microfocus.com/documentation/books/nx30books/opolda.htm or google com or ole datatype if you want to know generally about com. Go to codeproject.com and search for introduction to COM. A lot of code is in C. so you should have no problem understanding it.

--- In amibroker@yahoogroups.com <mailto:amibroker%40yahoogroups.com>, Keith McCombs <kmcco...@...> wrote:
>
> Hi --
> I've been having real difficulty understanding OLE. I've printed out
> the description in the AB Users Manual and read it over and over many
> times. I'm afraid it is just too brief, and assumes a level of
> programming experience which I do not have (Although I have over 20
> years experience with the 'C' programming language, I do not have any
> experience with object oriented languages, other than AB's CBT).
>
> I've looked through the AB online library and AB Yahoo files, with
> little success.
>
> I believe that my biggest problem was that many terms are used without
> any description as to their meaning. For example, many of the following
> can be easily confused with terms used in every day language. Terms
> such as Methods, Properties, As Date, As Single, As Long, Variant, Sub,
> Type, As Object, As Boolean, and As Integer appear to be borrowed from
> other programming languages.
>
> In 'C' the terms Long, Short, and Int define integers. And each may or
> may not contain a different number of bits, depending on the computer or
> operating system used. But what do those words mean in AB's OLE? Are
> they all integers? Do they use different number of bits? How many
> bits? Maybe some are redundant?
>
> 'C' doesn't use the term Single, but VB does and FORTRAN did (maybe
> still does).
>
> It looks to me like maybe I should be learning a bit about VB. Many of
> the terms are used in VB. But, if they are indeed VB terms, do they
> have identical meanings? If so, that seems a bit odd to me since AB
> is/was coded in C++.
>
> Maybe someone can suggest one or more sources which might act as an
> introduction to, or present a 'freshman' level description of OLE?
>
> Thanks,
> -- Keith
>


Reply via email to