Skip to content
Notifications
Clear all

copying an index

2 Posts
1 Users
0 Likes
517 Views
Avatar
Posts: 10
Customer
Topic starter
(@ddb8zvbjy5qer2dwyzwynjlpc543)
Active Member
Joined: 2 years ago

I want two indexes, each with the same set of elements in the same order.  So I figured I could use Subset to do it, by taking a subset according to a criterion that is always true:  Idx := ['a', 'b', 'c']   and CopyIdx := Subset(Idx,1,Idx).  But I don't get letters in CopyIdx, I get numbers.  What gives?  How do I get a copy?

1 Reply
Avatar
Posts: 10
Customer
Topic starter
(@ddb8zvbjy5qer2dwyzwynjlpc543)
Active Member
Joined: 2 years ago

Never mind.  Subset(idx) works.  Sorry.  It wouldn't let me delete the question.

Reply
Share: