Actually this style of coding is used extensively in Java without problems. Just make sure that the creation of said object never fails, or you could be looking down the wrong end of a null pointer one of these days ;)
Oh what tangled webs we weave...
BlitzMax Forums/BlitzMax Programming/Oh what tangled webs we weave...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.