Text search of User Manual or Programmer's Guide

New to FreeBASIC? Post your questions here.
dodicat
Posts: 7976
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: Text search of User Manual or Programmer's Guide

Post by dodicat »

jj2007 wrote:After "Browse for folder", I get heap corruption at CoTaskMemFree @idlroot (Windows 7-64).
Hi jj2007
I can only test on win 10, and it works OK if you don't use -Ox optimisations.
Thanks for testing.
dodicat
Posts: 7976
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: Text search of User Manual or Programmer's Guide

Post by dodicat »

badidea wrote:The default chm-reader of Windows also has search possibilities:
Image
Here is my result for naked

Code: Select all

search for naked
You are using fb version 1.07.2
output format:
path to file  (number of occurencies in the file)
Searching  . . .
C:\Users\Computer\Desktop\fb\FB-manual-1.07.1-chm\files\FB-manual-1.07.1\#STRINGS  (1)
C:\Users\Computer\Desktop\fb\FB-manual-1.07.1-chm\files\FB-manual-1.07.1\#URLSTR  (1)
C:\Users\Computer\Desktop\fb\FB-manual-1.07.1-chm\files\FB-manual-1.07.1\CatPgFullIndex.html  (2)
C:\Users\Computer\Desktop\fb\FB-manual-1.07.1-chm\files\FB-manual-1.07.1\CatPgFunctIndex.html  (2)
C:\Users\Computer\Desktop\fb\FB-manual-1.07.1-chm\files\FB-manual-1.07.1\CatPgProcedures.html  (2)
C:\Users\Computer\Desktop\fb\FB-manual-1.07.1-chm\files\FB-manual-1.07.1\fbdoc.hhc  (6)
C:\Users\Computer\Desktop\fb\FB-manual-1.07.1-chm\files\FB-manual-1.07.1\fbdoc.hhk  (6)
C:\Users\Computer\Desktop\fb\FB-manual-1.07.1-chm\files\FB-manual-1.07.1\KeyPgAsm.html  (2)
C:\Users\Computer\Desktop\fb\FB-manual-1.07.1-chm\files\FB-manual-1.07.1\KeyPgNaked.html  (13)
Done           9  locations

 
counting_pine
Site Admin
Posts: 6323
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Re: Text search of User Manual or Programmer's Guide

Post by counting_pine »

You might find the forum thread at https://freebasic.net/forum/viewtopic.php?f=9&t=25527 useful. I tried to compile a list of every symbol use I could think of. I didn't provide doc links, but it at least gives you a clue of what to look for.
Flyzone
Posts: 109
Joined: Nov 17, 2017 17:39

Re: Text search of User Manual or Programmer's Guide

Post by Flyzone »

Downloaded the CHM file... Tried to do a search on &H and it ignored the & giving me results for H (and lower case h). Not much help there. Perhaps there are other chars that are troublesome beside the &.

It is interesting I can't find squat on & conversions in the regular doc, not just omitted in the TOC, except as examples in other functions.

As others are already aware this reference will be helpful for other kinds of searches.
paul doe
Moderator
Posts: 1730
Joined: Jul 25, 2017 17:22
Location: Argentina

Re: Text search of User Manual or Programmer's Guide

Post by paul doe »

Literals: https://www.freebasic.net/wiki/ProPgLiterals
Operators list: https://www.freebasic.net/wiki/CatPgOpIndex
& operator: https://www.freebasic.net/wiki/KeyPgOpConcatConvert

A .chm file is no Google, I'm afraid. The Table of Contents should serve as an index into broad topics (where you can then narrow down your search).

Now I do admit that the search function (both on the Wiki and on a chm) is indeed pretty useless, but the TOC is pretty well organized and should easily direct you towards the topic you're looking for...

@fmx: I believe that the Literals page should be at the TOC, not as a subpage of some topic. Learning how to express literals is basic stuff in any language.
dodicat
Posts: 7976
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: Text search of User Manual or Programmer's Guide

Post by dodicat »

dodicat wrote:
jj2007 wrote:After "Browse for folder", I get heap corruption at CoTaskMemFree @idlroot (Windows 7-64).
Hi jj2007
I can only test on win 10, and it works OK if you don't use -Ox optimisations.
Thanks for testing.
jj2007
I fixed that little problem.
Post Reply