Skip to content
Notifications
Clear all

copying an index

2 Posts
1 Users
0 Reactions
840 Views
Avatar
Posts: 10
Customer
Topic starter
(@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
Avatar
Posts: 10
Customer
Topic starter
(@ddb8zvbjy5qer2dwyzwynjlpc543)
Active Member
Joined: 3 years ago

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

Reply
Share:

Download the free edition of Analytica

The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


    Analytica Cubes Pattern

    Download the free edition of Analytica

    The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

    While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


      Analytica Cubes Pattern