Re: Searchfile Problem


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jeff Cinelli on March 19, 2018 at 10:54:24:

In Reply to: Re: Searchfile Problem posted by Barbara Brazil on March 19, 2018 at 08:13:51:

Hi Barb. I've tried a number of things, including the 0/0 option. I also tried using a single variable for the search format vs. the file format. Nothing worked. However, I did discover one thing that made this work! For the flags, if I turn on the case sensitive flag (2) in addition to the search next flag (1), it works! I don't know why the case sensitivity would matter for numbers, but it apparently does.

SEARCHFILE (DATAFILE,1511) SEARCH$ 0 0 1 3,EXCP=SHOWLIST
SEARCHFILE (DATAFILE,1511) SEARCH$ 756 0 1 3,EXCP=SHOWLIST

Both of these commands now work with flags set to 3 instead of 1. I can program around the case sensitivity flag so it finds all results for strings.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]