Notifications
Clear all
copying an index
Analytica Q&A
2
Posts
1
Users
0
Reactions
840
Views
Aug 09, 2023 11:00 am
(@ddb8zvbjy5qer2dwyzwynjlpc543)
Active Member
Joined: 3 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
Aug 09, 2023 11:08 am
(@ddb8zvbjy5qer2dwyzwynjlpc543)
Active Member
Joined: 3 years ago
Never mind. Subset(idx) works. Sorry. It wouldn't let me delete the question.
Reply
Forum Information
- 4 Forums
- 87 Topics
- 286 Posts
- 1 Online
- 1,874 Members
Our newest member: xtw18387680a
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed