Page 2 of 2 <12
Topic Options
#71694 - 2002-11-27 04:42 AM Re: In reference to LIKE2 UDF
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Crazy Eddie,

I didn't mean for you to pull LIKE2(), but instead to fix it. I don't know if Like() is free of all logical errors either. But that's why I rely on users here to help me test it.

And I didn't mean to make it seem as though I was one-upping you. I just really liked the idea of a single-character wildcard. So if I'm going to update my own code, I might as well re-post it too.

Sorry if I gave you the wrong impression.

-Eric
_________________________
Eric

Top
#71695 - 2002-11-27 07:25 AM Re: In reference to LIKE2 UDF
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, what I remember eddie writing that the reason was that he couldn't contact the author of like() for request to fix it...

but now when you boys have been cracking this together, there could be special thanks section.
or even like in the BaseConverter() - for base2-base36 conversions

it anyway seems that you are going to improve it still.

btw, if you take a look at the udf-library, there are dublic functions.
differences vary from techniques to badly named functions.
anyway, as they are expoced, one can always get the best one, right?
_________________________
!

download KiXnet

Top
#71696 - 2002-11-27 03:39 PM Re: In reference to LIKE2 UDF
Crazy Eddie Offline
Starting to like KiXtart

Registered: 2002-11-20
Posts: 105
Loc: Sacramento, CA USA
No offense taken...truly.

I pulled Like2() because it is not reliable yet. Also, if Like() gets the one remaining issue (INSTR causing some 0 returns when 1 is appropriate) then it is fully functional and should be the UDF of choice.

My logic was getting more and more complicated, attempting to do the whole thing in a single FUNCTION.

I wasn't trying to one-up either. [Smile] The process for the parsing is a valuable exercise in logic...unfortunately, we found a few examples that really trip up some early assumptions that went into the code. I'm going to try to write-up a flowchart of a correct process.

I do want to contribute here, and I think I have so far. I am impressed with the community. Peers are hard to find in this skill-set!

Best to all,
Ed
_________________________
{Insert your favorite Witty Tag Line here}

Top
#71697 - 2002-11-27 04:04 PM Re: In reference to LIKE2 UDF
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
boys, you still got nothing in there [Wink]

just check as example:
http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=2;t=003714;p=2#000037

and you probably don't see what it does, so here is the task:
http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=2;t=003703#000000

so, once you get it done working, I'm sure there is ppl who can squees some 50-70% of the code [Razz]

so, just make it ready for us [Big Grin]
_________________________
!

download KiXnet

Top
#71698 - 2002-11-28 03:43 AM Re: In reference to LIKE2 UDF
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
I know...

I wrote anagram funtion for that golf tournament, but never posted it (it was a sad display of KiXtart).

It really is amazing what people here can do with KiXtart.
_________________________
Eric

Top
#71699 - 2002-11-28 03:46 AM Re: In reference to LIKE2 UDF
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, I quess it's matter of crazyness...
what more crazy you are, that more you will spend time with your computer kix'ng and that more you will be able to do some crazy stuff. [Wink]
_________________________
!

download KiXnet

Top
Page 2 of 2 <12


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1782 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.108 seconds in which 0.076 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org