How I can search phrases like "class_addMethod"?
"No suitable matches were found."
Forum search for "class_addMethod"
Re: Forum search for "class_addMethod"
Believe it or not, but it's almost always a better idea to search the forums using Google.
https://www.google.ch/search?q=class_ad ... rebasic.fr
I don't know why the forum search doesn't show any results.
https://www.google.ch/search?q=class_ad ... rebasic.fr
I don't know why the forum search doesn't show any results.
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
- Zebuddi123
- Enthusiast

- Posts: 796
- Joined: Wed Feb 01, 2012 3:30 pm
- Location: Nottinghamshire UK
- Contact:
Re: Forum search for "class_addMethod"
Alternatively compile the following code. Set as tool "%WORD" as argument ie: CTRL+` as short cut, type "class_addMethod(" into the pbIDE place cursor over the word and the tool will search google as in shields method will also search msdn for window api`s etc
Zebuddi.
Zebuddi.
Code: Select all
Define ScintillaID.i = Val(GetEnvironmentVariable("PB_TOOL_Scintilla"))
Define Position.i, Min.i, Max.i, Text.s
Position = SendMessage_(ScintillaID, #SCI_GETCURRENTPOS, #Null, #Null)
Min = SendMessage_(ScintillaID, #SCI_WORDSTARTPOSITION, Position, #True)
Max = SendMessage_(ScintillaID, #SCI_WORDENDPOSITION, Position, #True)
For Position = Min To Max-1
Text + Chr(SendMessage_(ScintillaID, #SCI_GETCHARAT, Position, #Null))
Next
If Right(Text,1)="_"
Text=Left(Text,Len(Text)-1)
RunProgram("http://social.msdn.microsoft.com/search/en-us/windows/desktop?query="+Text+Chr(38)+"Function Refinement=181")
ElseIf Left(Text,4)="#PB_"
RunProgram("http://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.purebasic.fr%2Fenglish+"+text)
ElseIf Left(Text,4)="#SCI"
RunProgram("http://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.purebasic.fr%2Fenglish+"+text)
ElseIf Left(Text,1)="#"
Text=Mid(Text,2)
RunProgram("http://social.msdn.microsoft.com/search/en-us/windows/desktop?query="+Text+Chr(38)+"Refinement=181")
Else
RunProgram("http://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.purebasic.fr%2Fenglish+"+text)
EndIf
Endmalleo, caput, bang. Ego, comprehendunt in tempore
Re: Forum search for "class_addMethod"
I think the search limits the length of searched items. It won't allow searches for words where the number of letters are less than 4. If the search term is only 3 letters you can add an asterisk (making the search term 4 characters) to use a wildcard search (i.e. use "GUI*" instead of "GUI").Lebostein wrote:How I can search phrases like "class_addMethod"?
It may also limit the length of a longer term. You can try shortening the term and follow it with an asterisk. So you would search for "class_addMethod" by using "class_ad*".
I think that the search has other limitations with regard to punctuation marks in the search terms. It is hard to discern what those are though.
I agree with the others, doing a Google search with the search limited to the PureBasic forum is very effective and flexible way to get around many of the limitations.
Re: Forum search for "class_addMethod"
Hi,
here's a further helpful thread including a simple pb-search-code: Search PureBasic Forum
I'm quite happy with the onboard search as of late and am often using a double wordcombination with proceeding '+'.
I've never encountered that a word could have been too long, but that in some search routines an understroke may brake the searchitem.
Searching e.g. class*addMethod will return this thread on the result's frontpage
here's a further helpful thread including a simple pb-search-code: Search PureBasic Forum
I'm quite happy with the onboard search as of late and am often using a double wordcombination with proceeding '+'.
I've never encountered that a word could have been too long, but that in some search routines an understroke may brake the searchitem.
Searching e.g. class*addMethod will return this thread on the result's frontpage
Two growing code-collections: WinApi-Lib by RSBasic ~ LinuxAPI-Lib by Omi
Missing a download-file on the forums? ~ check out this backup page.
Missing a download-file on the forums? ~ check out this backup page.
