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

Re: [amibroker] #define directive ?



PureBytes Links

Trading Reference Links




Salil,
 
Workaround: just use variables instead (type them in uppercase 
to mark they meant to be constants)
 
So instead
#define MY_NICE_CONSTANT 6
 
you can write
MY_NICE_CONSTANT = 6;
 
As for macros -  use functions instead.
 
Best regards,Tomasz Janeczkoamibroker.com
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Salil V 
  Gangal 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Monday, May 19, 2003 3:40 AM
  Subject: [amibroker] #define directive 
  ?
  
  Tomasz,
   
  There is #include in AFL, but AFAIK there is no #define in 
AFL.
   
  Are there any plans to add #define as well ?  With ever increasing 
  length of AFL scripts, I'm sure that #define will cut-down lot of typing while 
  writing AFL scripts.
   
   
  
  Friends,
   
  Are there any work-arounds for #define in AFL ?
   
  Regards,
  - Salil V Gangal 
  
  
  
  Do you Yahoo!?<A 
  href="">The New 
  Yahoo! Search - Faster. Easier. Bingo. Send 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







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.