Notifications
                
            
                Clear all
    
            
        copying an index
         Analytica Q&A
        
    
    
                    
                        
                        2                    
            Posts
        
        
                    
                        
                        1                    
            Users
        
        
                    
                        
                        0                    
            Reactions
        
        
                    
                        
                        3,034                    
            Views
        
        Aug 09, 2023 12:00 pm
                        (@ddb8zvbjy5qer2dwyzwynjlpc543)
                                                                    Active Member
                                                                                                     Joined: 4 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 12:08 pm
                        (@ddb8zvbjy5qer2dwyzwynjlpc543)
                                                                    Active Member
                                                                                                     Joined: 4 years ago                                    
                            Never mind. Subset(idx) works. Sorry. It wouldn't let me delete the question.
                            Reply                        
                        
                
                Forum Information
            
            
        - 4 Forums
- 93 Topics
- 294 Posts
- 3 Online
- 1,984 Members
                    
					Our newest member: Paul Evers                
				                    
                        
						Latest Post: Analtyca 6.6 Beta released
                    
				            
                    Forum Icons:
                     Forum contains no unread posts
                     Forum contains unread posts
                
                
                    Topic Icons:
                     Not Replied
                     Replied
                     Active
                     Hot
                     Sticky
                     Unapproved
                     Solved
                     Private
                     Closed
                
             
								 
 