Hi,

I have the following statement for use within the Plot() function.  It
applies to the style:

dottedStyle = IIf(stor>80, styleDots,IIf(stor<20,styleDots,styleLine));

"stor" is the result of drawing function.  I want to draw "styleDots"
when it's over 80 or under 20.  

When I pass "dottedstyle" to the Plot() function, I get the error
message: 

"Argument #4 has incorrect type.  (The function expects different
argument type here)."


I'm not sure why I'am receiving this kind of error since the IIF
statement returns either styleDots, or styleLine which are both valid
parameters.

Any help will be greatly appreciated.

Thanks

Costas






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/
 



Reply via email to