Handle object question

Blitz3D SDK Forums/Blitz3D SDK Programming/Handle object question

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

First, I dont know were I am supposed to post Bmax questions about 3DSDK, so if this would be better in Bmax thread, then move it.
Function HandleToObject:Object(obj:Object)
	Return obj
End Function

Function HandleFromObject(obj:Object)
	Local h=HandleToObject(obj)
	Return h
End Function
What is this doing?

HandleToObject is passed an Object, then returns the same Object, which is then allocated to an INT, and returned. So... wouldnt
Function HandleFromObject:int(obj:Object)
	Return Obj
End Function
Do the Same?

Anyway, reason I asked is, I have this
	Function HandleToType:TbbEntity (Comparisonhandle:Int)
		
		For Local Ent:TbbEntity = EachIn TbbEntity.List
			If Ent.handle=Comparisonhandle Then Return Ent
		Next
		
		Return Null
	
	End Function
Which as you can see is to look though a list to find which TbbEntity has a specific Handle. No specific question, if you can see my problem, then you dont really need a question.