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

[amibroker] TJ: Default function args?



PureBytes Links

Trading Reference Links




<FONT face="Arial Black" 
color=#000080>Anyway to specify functions with trailing default args 
like the built-ins?
<SPAN 
class=113431118-10052003> 
For 
example,
<FONT 
size=2> 
function CMO(P, range 
= 14)
{<SPAN 
class=113431118-10052003> ...
<SPAN 
class=113431118-10052003> );<FONT 
color=#000080> <SPAN 
class=113431118-10052003>should 
be callable with
<FONT 
face="Arial Black" size=3>f1 = cmo(c); 
<SPAN 
class=113431118-10052003>as well as
<SPAN 
class=113431118-10052003>f2 = cmo(c,5);
<SPAN 
class=113431118-10052003> 
<FONT 
size=3>Bob 
 






Yahoo! Groups Sponsor












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.