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" <[EMAIL PROTECTED]> To: <amibroker@yahoogroups.com> 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 > > > > > > > > > > > > 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 <*> 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:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/