By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,369 Members | 950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,369 IT Pros & Developers. It's quick & easy.

function containing for are not expanded in line = for(i=0;i<nosr;i++)

P: 1
warning message=function containing are not expanded in line
Jan 16 '16 #1
Share this Question
Share on Google+
3 Replies

P: 638
your question is not desriptive enough , none can get what you are saying
Jan 16 '16 #2

Expert Mod 5K+
P: 9,197
This code:
Expand|Select|Wrap|Line Numbers
  1. for(i=0;i<nosr;i++) 
the compile thinks you have a function named for. This is because the code for the loop is missing.
Jan 17 '16 #3

Expert 100+
P: 2,398
What @weaknessforcats said, except that it might be because this for statement is not inside a function body. Either way, the key issue is the context of the for statement (the statements that precede and follow it).
Jan 17 '16 #4

Post your reply

Sign in to post your reply or Sign up for a free account.