PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: David Martin on July 15, 2004, 10:38:05 AM

Title: F1 Help Item
Post by: David Martin on July 15, 2004, 10:38:05 AM
Not sure if this is anything or not but ...

When I am in the code editor and sitting on a SELECT for a Select Case and press F1 I get the following error:

(https://www.planetsquires.com/protect/forum/proxy.php?request=http%3A%2F%2Ftowanda.ivyleague.net%2Fsamples%2Fff_f1_error.jpg&hash=2c176cf501eb04fdec5b2637e896df19fb755624)

Everything is set fine in the Compiler Defaults ... and I am not sure how Select Case has to do with the SOCK2.HLP file.
Title: F1 Help Item
Post by: Anonymous on July 15, 2004, 12:08:02 PM
Confirmed here - this seems to be new as I think I may have tried help on "Select Case" before now.

Andrew
Title: F1 Help Item
Post by: TechSupport on July 15, 2004, 02:31:28 PM
"select" is a Windows API keyword for the Windows Socket library. If you don't want it to display the Win32 API Help then you should manually edit the "master.ita" file (line 4206) to remove the reference.

If you had the full set of Win32 API Help files installed then the "Select" help would have popped up. Check under the Help topic "What is FireFly?" in the FireFly help file for links to the files.
Title: F1 Help Item
Post by: David Martin on July 15, 2004, 02:37:34 PM
Learn something new everyday ... is there a way to set the help file a certain word uses ... for instance if I wanted SELECT to go to the PB help file.
Title: F1 Help Item
Post by: Roger Garstang on July 15, 2004, 04:41:59 PM
No error here, F1 takes me to the help for the Win API keyword Paul mentions.  I've spent some time and got every help file I think exists.  Almost 200MB worth.  I don't like the new Help 2.0 or whatever the new MSDN uses...all mine are the basic files.

P.S.  B5MS is the help you want.  It has them all and a 24MB version of the Win32 help.

In addition to this I also have:

[.]            [..]           95GUIDE.MST    Ado260.Chi     Ado260.Chm
adosql.chi     adosql.chm     dhcp.chi       dhcp.chm       dns.chi
dns.chm        ExchCli.Chi    ExchCli.Chm    ExchServ.Chi   ExchServ.Chm
fax.chi        fax.chm        FileIO.Chi     FileIO.Chm     Gdi.Chi
Gdi.Chm        Hardware.Chi   Hardware.Chm   HelpLib.Chi    HelpLib.Chm
hlpview.chi    hlpview.chm    howtosql.chi   howtosql.chm   Inet.Chi
Inet.Chm       KBASE.MST      MAPI.MST       MDACSdk.Chi    MDACSdk.Chm
MIDL.MST       MISAPI.MST     MMEDIA.MST     MsAgent.Chi    MsAgent.Chm
Msi.Chi        Msi.Chm        Odbc.Chi       Odbc.Chm       odbcsql.chi
odbcsql.chm    OLE.MST        OleDb.Chi      OleDb.Chm      OPENGL.MST
PDH.MST        PENAPI.MST     PROGTECH.MST   RegApi.Chi     RegApi.Chm
Rpc.Chi        Rpc.Chm        RPC.MST        Rras.Chi       Rras.Chm
SetupAPI.Chi   SetupAPI.Chm   SETUPAPI.MST   ShellCC.Chi    ShellCC.Chm
Sms.Chi        Sms.Chm        snmp.chi       snmp.chm       SOCK2.MST
sysinfo.chi    sysinfo.chm    TAPI.MST       TaskSchd.Chi   TaskSchd.Chm
TcpIp.Chi      TcpIp.Chm      Win32.Chi      Win32.Chm      WIN32.MST
WinSock.Chi    WinSock.Chm    Winui.Chi      Winui.Chm      WMISDK.Chi
WMISDK.Chm     wmplay.chi     wmplay.chm     Wnet.Chi       Wnet.Chm
             88 File(s)    157,597,755 bytes
Title: F1 Help Item
Post by: Roger Garstang on July 15, 2004, 04:56:28 PM
Quote from: David MartinLearn something new everyday ... is there a way to set the help file a certain word uses ... for instance if I wanted SELECT to go to the PB help file.

Removing it appears to make it go to PB's help.  You could look through the other values and maybe set it to things like select,WIN32 or whatever help you want it to go to...it would probably need to be in the help to do any good though as changing it to above just brings up the first entry with the word select in it in the Win32 Help.

My question I'd like to know is how to edit the keyword list...maybe then I can fix some of my problems with things like $ERROR, and "image/gif" being considered keywords...it appears the PB keywords aren't in that file.  Putting them there would be awesome...
Title: F1 Help Item
Post by: TechSupport on July 15, 2004, 06:45:45 PM
The keyword list is found in the file "PowerBasic_langdef.dat" text file.

:)
Title: F1 Help Item
Post by: Roger Garstang on July 16, 2004, 02:44:50 AM
Ahhh ok.  Had to hold shift and right click it to get Open With...Creative Playcenter had it as an associated file.  Looks pretty cool.  So far I can change caps and stuff which isn't new since I can select that in FF.  Does it need the ", extra characters, and CRLF at the end of the file for any reason?  Everything is seperated by one space, so I'm guessing you parse by space...so adding a space after or before the fields wouldn't do much but make an empty value when parsed.

Any chance you'd parse by comma and/or enclose things in quotes so keywords can have spaces before/after/both and then I can make myself a custom version to eliminate the keyword problems?