Page 1 of 1
[Implemented] CopyList(LinkedList(),LinkedList2()) and Alias
Posted: Sun Mar 11, 2007 1:53 pm
by Joakim Christiansen
CopyList(LinkedList(),LinkedList2())
Copy a linked list into another, the structure used must be the same.
EDIT:
And maybe something like a dynamic With would be cool!
Should be named Alias then:
Code: Select all
Select ListToUse
Case 1: List1() Alias List()
Case 2: List2() Alias List()
Case 3: List3() Alias List()
EndSelect
AddElement(List())
List()\Blablabla = "OMG"
Posted: Sun Mar 11, 2007 2:21 pm
by WishMaster
I second this.
Posted: Sun Mar 11, 2007 2:43 pm
by GeoTrail
I "third" that

Posted: Sun Mar 11, 2007 7:00 pm
by AND51
Never heard this expression... However,
I
force... umm... "
fourth" that, too...

Posted: Sun Mar 11, 2007 7:04 pm
by macros
And I "fifth" it

Posted: Sun Mar 11, 2007 9:29 pm
by Demivec
I "sixth" it.
This would make possible a similiar structure equate such as: CopyStructVar(first.dataRecType,second.dataRecType) that could assign a structured variable's contents to a another variable with the same structure.
Posted: Tue Mar 13, 2007 9:51 pm
by Joakim Christiansen
Anyone know how to make a homemade?
Posted: Tue Mar 13, 2007 10:20 pm
by Joakim Christiansen
And maybe something like a dynamic With would be cool!
Should be named Alias then:
Code: Select all
Select ListToUse
Case 1: List1() Alias List()
Case 2: List2() Alias List()
Case 3: List3() Alias List()
EndSelect
AddElement(List())
List()\Blablabla = "OMG"
Hmm?

Would sure make PB into the most sexy language!
Posted: Mon Mar 26, 2007 7:24 pm
by nco2k
Joakim Christiansen wrote:And maybe something like a dynamic With would be cool!
Should be named Alias then:
Code: Select all
Select ListToUse
Case 1: List1() Alias List()
Case 2: List2() Alias List()
Case 3: List3() Alias List()
EndSelect
AddElement(List())
List()\Blablabla = "OMG"
Hmm?

Would sure make PB into the most sexy language!
i strongly second this request.
edit: CopyList() would be nice too.
c ya,
nco2k