Tlist fails :/
BlitzMax Forums/BlitzMax Beginners Area/Tlist fails :/| 
 | ||
| 'This code fails. it says   "Unhandled exception: Attempt to access field or method of Null object. 'Please give advice as this halt my bigger Project. i just want a type to Point to Another type as in Blitz 3d Global b:bone Type bone Field x:Int Field b:bone End Type Global bonelist:TList b:bone = New bone b.b = b ListAddLast bonelist,b | 
| 
 | ||
| It's not failing, per se.  You just aren't doing it right. Global bonelist:TList = New TList Oh, and whatever that b.b = b stuff is about, you're setting yourself up for cyclic reference hell. | 
| 
 | ||
| Ty iam getting tired :D | 
| 
 | ||
| the b.b = b   was an atept to fill out the null object pointer. (In desperation) |