A question about the mask
#1
Huh

I tried passing *.* and *.? and similar as a string by Command$ into my program. But instead of the expected string with these three characters, I got a file listing in the form of a long string. I could also use this if...the individual file names were somehow separated. I did a parsing of the obtained string before posting this question here - everything is separated by plain space (CHR 32). This is completely unuseless for, because then you don't know if what you are reading is the continuation of the file name in which there is a space, or if it is the name of another file...
So - of course, from the start I was counting on direntry.h to give me the filenames, that works great - but - how to get the literal mask string *.* or ?????.* and so on? Having Command$ filter it out for me would only be useful if there were special ASC separators in the filenames it provides, like CHR$ 13 or ther characters (which can't be part of a filename)


Reply


Messages In This Thread
A question about the mask - by Petr - 03-17-2023, 05:13 PM
RE: A question about the mask - by Petr - 03-17-2023, 05:34 PM
RE: A question about the mask - by mnrvovrfc - 03-17-2023, 08:52 PM
RE: A question about the mask - by mnrvovrfc - 03-17-2023, 09:19 PM
RE: A question about the mask - by Petr - 03-18-2023, 08:56 AM
RE: A question about the mask - by mnrvovrfc - 03-18-2023, 10:31 AM



Users browsing this thread: 1 Guest(s)