News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Binsearch case insensistive?

Started by Ghirai, April 10, 2006, 09:11:21 PM

Previous topic - Next topic

Ghirai

Hey,

The binsearch algo in the masm lib is case sensistive, is there a case insensitive version?
If not, what do i have to edit?

Thanks.
MASM32 Project/RadASM mirror - http://ghirai.com/hutch/mmi.html

hutch--

Ghirai,

Its probably not the right algo to use for this task. It sounds like you would need a table based algo to handle the characters of either case but I don't immediately have one available.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Ghirai

I see.

Thanks for the info anyway.
MASM32 Project/RadASM mirror - http://ghirai.com/hutch/mmi.html

Mark Jones

I haven't seen the binsearch algo. But generally I tried the "case flip" approach - flip the case of the character being matched and if one of the two matches, continue.
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

Ghirai

Yeah, that's what i'm trying to do atm :toothy
MASM32 Project/RadASM mirror - http://ghirai.com/hutch/mmi.html