Recent

Author Topic: case sensistivity of BrooksFreePascal  (Read 1217 times)

egsuh

  • Hero Member
  • *****
  • Posts: 1289
case sensistivity of BrooksFreePascal
« on: January 26, 2021, 09:56:55 am »
Hi,
I'm testing Brooks Free Pascal and made following small unit.

Code: Pascal  [Select][+][-]
  1. type
  2.   THello = class(TBrookAction)
  3.   public
  4.     procedure Get; override;
  5.   end;
  6.  
  7.   TCF = class(TBrookAction)
  8.   public
  9.     procedure Get; override;
  10.   end;
  11.  
  12. implementation
  13.  // ..............................
  14.  
  15. initialization
  16.   THello.Register('/hello', True);
  17.   TCF.Register('/CF');
  18.  

"hello" is default. My problem is,  "www.mysite.net/brooktest/cf" calls TCF.Get correctly, but "www.mysite.net/brooktest/CF" call hello.

Should I write all script part in lower case?

 

TinyPortal © 2005-2018