Quantcast
Channel: Jason Andrews Blog
Viewing all articles
Browse latest Browse all 33813

I want to assign an element of list to some pointer/attribute to access that element easily instead of using car/cdr ???

$
0
0
Hi , I am using following procedure to have a result I needed in list format. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// procedure(abNetInfolist(@optional (cellView geGetEditCellView())) NetInfo=list() foreach(conns cellView~>conns t_Netinfo=list(nil) t_NetInfo=list(conns~>name conns~>net~>name) NetInfo=append1(NetInfo t_NetInfo) ) printf("%L" NetInfo)); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// If Result for some selected instance looks something like this in list format : (("s" "vss")) Now I want to assign first element in each list i.e: "s" to some pointer eg; TERMNAME & second element of list i.e; ("vss") to some pointer eg: NETNAME. Is there a way to do this ? Thanks, Raghu

Viewing all articles
Browse latest Browse all 33813

Trending Articles