Microsoft Developer Network > Forenhomepage > Phoenix > How to get the line No. of the function name by Phoenix?
Stellen Sie eine FrageStellen Sie eine Frage
 

Allgemeine DiskussionHow to get the line No. of the function name by Phoenix?

  • Sonntag, 14. Juni 2009 10:19nkparrot TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    I want to get the line No. of the function name using Phoenix, for example, I want to the the line No. of sample_1,

    1  int
    2  sample_1
    3  (int a)
    4  {
    5   int i;
    6   for(i=0;i<100;i++)
    7   {
    8    if( i == a )
    9   {
    10    a = a*i;
    11  }
    12  }
    13    return i;
    14  }

    Yes, I can get the "{"'s line number, but currently I do not how to get the function name's line No.
    Thanks