Hi -
First post here, so please bear with me...
I'm using MS example code to get files from a dir into a list but the separate> command doesn't seem to work right.
There are four files in the source dir, but separate> returns a count of 1. At least that's what I think it's doing from watching the debugger.
The code:
GetFileList>g:\backups\reflect\*.mrimg, files
Separate>files,;,file_names
The watch list shows all the files, separated by ;'s, in the files var.
The watch list shows file_names_count=1, but it should be 4.
I'm probably missing something, but I don't know what.
Getting a list of files
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
I suspect it is something extra vs. missing something. Is that an extra space char in front of files?GetFileList>g:\backups\reflect\*.mrimg, files
Separate>files,;,file_names
The watch list shows all the files, separated by ;'s, in the files var.
The watch list shows file_names_count=1, but it should be 4.
I'm probably missing something, but I don't know what.
GetFileList>g:\backups\reflect\*.mrimg, files
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!