Click 2.01 released. Bugs and Undocumented Features repaired! 
Author Message
 Click 2.01 released. Bugs and Undocumented Features repaired!

Click! 2.01 is released, thanks to two programmers who hang out here
on c.l.c.

Also, please delete any CLICK200.ZIP file you have, since it contained
some unneeded junk files.

Besides, this version is identical, only better! ;)

Here are the changes.

Release 2.01

1) the "LIKEINFILE" setting does not work for commands
   (it uses > UPPER instead)

   This was caused by the c version of function no_ast(): it works
   directly on the contents of the variable passed (i.e. by
   reference), and hence always leaves the aCommands array with upper
   case copies of the commands. I have fixed this by simply
   re-instating your original no_ast() function in cmd_list.prg, so
   no_ast.obj no longer needs to be linked in.  This has very
   negligible impact on speed of operation when dealing with lots of
   source code, as no_ast() is only called when processing the .ini
   file at startup.  I have not included my version of the build
   files, as I had to change them for my development environment (and
   dbfcdx driver instead of six etc.)

2) the setting specified for functions is always ignored (it uses
   the setting specified for commands instead, and this time
   LIKEINFILE *does* work).

   This one was simply caused by using variable cComCase instead of
   cFunCase in the relevant sections of click.prg.

3) Phil, thanks for the Click! source.  I was looking at
   FILNPATH.PRG when I found a UDF (UnDocumented
   Feature).  As written, fileinpath will only find a
   file in the nominated path if the file is in the
   directory specified in the last portion of the path.

   So if:

    path == "c:\windows;c:\windows\command"
    ? fileinpath( "" ) => ""

    but if:

    path == "c:\windows\command;c:\windows"
    ? fileinpath( "" ) => "c:\windows\"

   I've attached a modified version so you can see what I


        Oasis WWW   http://www.*-*-*.com/ ~philb/
         FTP Site
      Clipper FAQ   http://www.*-*-*.com/ ~philb/clipper.html

         Your willpower is the steering wheel and
      accelerator of what happens next in your life.

Fri, 01 Jun 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. C4 RW Bug or Undocumented Feature -- Help Please

2. EasyVersion ver 2.01 released!!!

3. ANNOUNCE: Glasgow Haskell 2.01 release (for Haskell 1.3) [repost]

4. Undocumented features...

5. Undocumented feature?

6. Blob Tip (Undocumented Feature?)

7. Undocumented features

8. VO "Undocumented features"

9. Regex: undocumented feature?

10. Array's undocumented features

11. init nets values + undocumented features in VerilogXL

12. Undocumented Verilog-XL features


Powered by phpBB® Forum Software