Re: Source String Search


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

Posted by Glenn Tanner on January 06, 2004 at 20:36:59:

In Reply to: Re: Source String Search posted by Jim Guerber on January 01, 2004 at 23:26:27:

Jim,

Re: FSTAT
Could not get your code to work. When you use substring b$=sub(a$,9,3) it produces "000" on files sthat do not have an extension. Don't ask me why.

However was able to get the program to work using sub(a$,35,12) making the next file name equal to that string, and since the file names can not be over 8 bytes long it works fine with all types of source files whether or not they have an "IBS" extension.

Also had to change the length of the "NEXT$" field in Fstatus$ from 11 to 12 as well change the length of the FILE$ from 11 to 12.




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):






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