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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lakra
    New Member
    • Jan 2016
    • 1

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

    warning message=functio n containing are not expanded in line
    for(i=0;i<nosr; i++)
  • omerbutt
    Contributor
    • Nov 2006
    • 638

    #2
    your question is not desriptive enough , none can get what you are saying

    Comment

    • weaknessforcats
      Recognized Expert Expert
      • Mar 2007
      • 9214

      #3
      This code:
      Code:
      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.

      Comment

      • donbock
        Recognized Expert Top Contributor
        • Mar 2008
        • 2427

        #4
        What @weaknessforcat s 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).

        Comment

        Working...