SELECT - does it support ranges?

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Jun 7, 2008
121
0
#1
Hi

Using TCC 11.00.44

Does SELECT support ranges?
The help file claims it does.
But when I try it out - it does not.

I frequently use

dir /Od /[d]

just to see today files in order in a directory.
So I was surprised to find that

SELECT /Od /[d] MOVE (*.TXT) backup

did not work. SELECT did not like /[d].

Thanks

Stephen Howe
 

rconn

Administrator
Staff member
May 14, 2008
10,210
86
#2
> Does SELECT support ranges?
> The help file claims it does.
> But when I try it out - it does not.
>
> I frequently use
>
> dir /Od /[d]
>
> just to see today files in order in a directory.
> So I was surprised to find that
>
> SELECT /Od /[d] MOVE (*.TXT) backup
>
> did not work. SELECT did not like /[d].
Look at the help a little more closely, and you'll see that ranges must
*immediately* follow SELECT. In your example you've inserted a non-range
argument between SELECT and the range.

Rex Conn
JP Software
 
Jun 7, 2008
121
0
#3
Look at the help a little more closely, and you'll see that ranges must
*immediately* follow SELECT. In your example you've inserted a non-range
argument between SELECT and the range.

Rex Conn
JP Software
Ahhh <crestfallen> - that works.
Thanks Rex.

Stephen Howe