Recent

Author Topic: Unit Masks, matches functions  (Read 574 times)

LemonParty

  • Sr. Member
  • ****
  • Posts: 391
Unit Masks, matches functions
« on: November 12, 2025, 08:08:44 pm »
Hello.

In unit Masks there are MatchesMask and MatchesWindowsMask functions. What the difference between those two?
Lazarus v. 4.99. FPC v. 3.3.1. Windows 11

ASerge

  • Hero Member
  • *****
  • Posts: 2469
Re: Unit Masks, matches functions
« Reply #1 on: November 12, 2025, 08:18:34 pm »
The Lazarus comes with the source code. For more information, see the TWindowsQuirk type.

dsiders

  • Hero Member
  • *****
  • Posts: 1496
Re: Unit Masks, matches functions
« Reply #2 on: November 12, 2025, 08:57:57 pm »
Hello.

In unit Masks there are MatchesMask and MatchesWindowsMask functions. What the difference between those two?

Have you tried the docs?

https://lazarus-ccr.sourceforge.io/docs/lazutils/masks/index-5.html
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

LemonParty

  • Sr. Member
  • ****
  • Posts: 391
Re: Unit Masks, matches functions
« Reply #3 on: November 12, 2025, 09:21:31 pm »
Have you tried the docs?

For some reason google not output results from sourceforge.
Lazarus v. 4.99. FPC v. 3.3.1. Windows 11

creaothceann

  • Full Member
  • ***
  • Posts: 223
Re: Unit Masks, matches functions
« Reply #4 on: November 12, 2025, 09:24:21 pm »
google not output results from sourceforge
Put the caret on the function name and press F1.

dsiders

  • Hero Member
  • *****
  • Posts: 1496
Re: Unit Masks, matches functions
« Reply #5 on: November 12, 2025, 09:25:16 pm »
Have you tried the docs?

For some reason google not output results from sourceforge.

Documentation links appear in the sidebar for this page. No googling needed.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

LemonParty

  • Sr. Member
  • ****
  • Posts: 391
Re: Unit Masks, matches functions
« Reply #6 on: November 12, 2025, 09:34:49 pm »
dsiders, I didn't notice this. Thank you.

creaothceann, I almost forget about this feature.
Lazarus v. 4.99. FPC v. 3.3.1. Windows 11

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11923
  • Debugger - SynEdit - and more
    • wiki
Re: Unit Masks, matches functions
« Reply #7 on: November 12, 2025, 11:05:23 pm »
For some reason google not output results from sourceforge.
IIRC there was a problem, but it was fixed long ago (last year, very early this year)?

I just googled this:
Code: Text  [Select][+][-]
  1. lazarus docs unit masks matches function

First result: https://lazarus-ccr.sourceforge.io/docs/lazutils/masks/matchesmask.html from where you can select the list of functions in the unit.

LemonParty

  • Sr. Member
  • ****
  • Posts: 391
Re: Unit Masks, matches functions
« Reply #8 on: November 13, 2025, 06:55:08 pm »
I used prompt "pascal masks unit" and there are no results from Sourceforge on first page.
Lazarus v. 4.99. FPC v. 3.3.1. Windows 11

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11923
  • Debugger - SynEdit - and more
    • wiki
Re: Unit Masks, matches functions
« Reply #9 on: November 13, 2025, 07:31:00 pm »
I used prompt "pascal masks unit" and there are no results from Sourceforge on first page.

Yes, that is quite generic, lots of other Pascal environments around. Though the fpc docs are 3rd when I do that search: https://www.freepascal.org/daily/doc/fcl/maskutils/index.html (again, one more click to the list of procedures in the unit).

And, also yes, google often prefers the wiki content over the docs. Its a case by case, if the wiki has "better" content (accuracy, up-to-date-ness). The wiki often has "longer" content, but that doesn't always mean "better". (and 1st result on that search is the wiki, 2nd is the forum)

But I don't know how much google use knowledge of a persons search history... I.e. if my results can be used to judge it.

I mainly brought the search up, because it had been a problem in the past (and some people may for that reason not try, because the had tried back then). Unfortunately for a long time (but as I said fixed for some time already), the sourceforge help pages had an incorrect robot.txt, that had blocked google.

 

TinyPortal © 2005-2018