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

Re: [amibroker] Re: VBScript within AFL Function ?



PureBytes Links

Trading Reference Links

Hello,

No, you can't put VBScript code inside the AFL function but you can
write VBScript function that is callable from AFL level (using GetScript object),
so to have what you want you may:
a) write VBScript function
b) inside AFL function use GetScriptObject and call VBScript method from there
The net result would be the same i.e. executing VBScript code parts by calling AFL function.

Example how to do that is here:
http://www.amibroker.com/guide/a_aflcom.html

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Fred" <ftonetti@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, October 03, 2006 8:49 AM
Subject: [amibroker] Re: VBScript within AFL Function ?


> TJ,
> 
> Is writing VBScript within an AFL function possible ? ... or do I need 
> a DLL ?
> 
> 
> 
> 
> 
> 
> 
> 
> 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 other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>