How to make ssget work with dotted pairs?

How to make ssget work with dotted pairs?

Anonymous
Not applicable
206 Views
6 Replies
Message 1 of 7

How to make ssget work with dotted pairs?

Anonymous
Not applicable
Sorry if this is such a simple question...

How can I pass points in the form of dotted pairs to ssget?

Let's say !p1 returns (1 . 2) and !p2 returns (3 . 4).

How can I get (ssget "c" p1 p2) to work?

Thanks,
Karen
0 Likes
207 Views
6 Replies
Replies (6)
Message 1 of 7

Anonymous
Not applicable
Sorry if this is such a simple question...

How can I pass points in the form of dotted pairs to ssget?

Let's say !p1 returns (1 . 2) and !p2 returns (3 . 4).

How can I get (ssget "c" p1 p2) to work?

Thanks,
Karen
0 Likes
Message 3 of 7

Anonymous
Not applicable
Points are not dotted lists. They look like this: (X Y )

Try this instead:
(setq p1 (list 1 2) p2 (list 3 4))
(ssget "c" p1 p2)

The only time you'll need dotted lists with SSGET is when you're using
filters.

Hope this helps.

--
Get free software and more at http://www2.stonemedia.com/franko

"Karen" wrote in message
news:eee82a2.-1@WebX.SaUCah8kaAW...
> Sorry if this is such a simple question...
>
> How can I pass points in the form of dotted pairs to ssget?
>
> Let's say !p1 returns (1 . 2) and !p2 returns (3 . 4).
>
> How can I get (ssget "c" p1 p2) to work?
>
> Thanks,
> Karen
0 Likes
Message 4 of 7

Anonymous
Not applicable
Oops - never mind...

I discovered the list command...

K
0 Likes
Message 4 of 7

Anonymous
Not applicable
Oops - never mind...

I discovered the list command...

K
0 Likes
Message 6 of 7

Anonymous
Not applicable
Thanks Frank - yeah, I just discovered "list".

K
0 Likes
Message 6 of 7

Anonymous
Not applicable
Thanks Frank - yeah, I just discovered "list".

K
0 Likes