This topic is now archived and is closed to further replies.


Getting 2 result from a function

Recommended Posts

I got this function where i calculate some stuff........ public function(x as integer, y as integer) as integer calculate stuff..... result1 = blahblah result2 = blahblah "its actually coordinates i calculate" end function now i wanna use thoose 2 results somewhere else how do i call the results like thisthingy.height = result1 thisthingy.width = result2 could anyone give an example in visual basic syntax since thats what im using 4 this project thanx

Share this post

Link to post
Share on other sites