• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: funny function popup menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: funny function popup menu


  • Subject: Re: funny function popup menu
  • From: Perry Winkel <email@hidden>
  • Date: Mon, 16 Oct 2006 16:08:52 +0200

tried it, it doesn't...

if i paste the code below in a new c++ text file, my function popup mentions multiple line
where i would like to see only one: pxstatus px_log_lines_last()

pxstatus px_log_lines_last(px3s *theresult,pxn thelinecount){
_empty(theresult) _b


_px3s(s){
_px2file(myfile,dpxlogfile,"rb") _exec(myfile.read(&s))
}


pxn mylinestart=0;{
pxn mylinecount=0; _exec(s.linecount(&mylinecount))
if(!mylinecount) return pxok;
if(thelinecount>mylinecount) thelinecount=mylinecount;
mylinestart=mylinecount-thelinecount;
}

_for(i,thelinecount){
pxn mylineindex=i+mylinestart;
_px3s(myline) _exec(s.linex(&myline,mylineindex)) if(!myline.itslen) continue;
_px3s(myfld) _exec(myline.fieldx(&myfld,0)) _exec(myfld.trim()) if(!myfld.itslen) continue;
b=0; _exec(myfld.isvalidinteger(&b)) if(!b) continue;
_exec(theresult->lineadd(&myline))
}

_exec(theresult->addnewlinemodest())
return pxok;
}

the form

_px3s(s){

is recognized as a function start, wich it isn't

On Oct 16, 2006, at 3:58 PM, Roger Persson wrote:

Doesn't
defaults write com.apple.Xcode PBXMethodPopupIncludeDefinesDefault NO

work for you? I think you'll need to restart XCode so changes will take effect.

Or are you refering to something else?

--
met vriendelijke groeten
perry winkel



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Re: funny function popup menu
      • From: "Roger Persson" <email@hidden>
References: 
 >funny function popup menu (From: email@hidden)
 >Re: funny function popup menu (From: Fritz Anderson <email@hidden>)
 >Re: funny function popup menu (From: Perry Winkel <email@hidden>)
 >Re: Re: funny function popup menu (From: "Roger Persson" <email@hidden>)

  • Prev by Date: Re: Re: funny function popup menu
  • Next by Date: Re: Re: funny function popup menu
  • Previous by thread: Re: Re: funny function popup menu
  • Next by thread: Re: Re: funny function popup menu
  • Index(es):
    • Date
    • Thread