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

[amibroker] Problem with 'for' and 'if' in Guru



PureBytes Links

Trading Reference Links



Friends,
 
I've got following code in Guru.  Any idea why it does not produce the expected O/P?  I'm attaching a screen-shot that shows the version I'm using.
 
Regards,
- Salil V Gangal
 

/*
** File: loop_test.afl
** Title: Testing the Loop
** Date: April 19, 2003
** Author: Salil V Gangal
*/ 
"First Stamentnt";
for ( i = 0; i < 10; i++ ) {
" Hello World! ";
}
varA = 10;
varB = 20;
if ( varA > varB ) {
" varA is greater than varB ";
}
else {
" varA is not greater than varB ";
}
"Last Statement";Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.






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.



Attachment: Description: ""