bizzydint Posted November 3, 2003 Posted November 3, 2003 I'm having monday morning mental block - can someone just help clear something up for me? I've got a two files. One file contains the datagrid to display items. The other file(class) contains the calculation engine, for rating each item depending on certain criteria. This calc Engine function returns a DataTable of the ratings. But I want to return another variable as well as this datatable. So how do i do it? Am I making sense? THere must be an easy way but my brain cant quite get there this morning. cheers in advance.... Quote Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept and the wisdom to hide the bodies of those people I had to kill today cos they pi**ed me off.
bizzydint Posted November 3, 2003 Author Posted November 3, 2003 global variables - doh! sorry for wasting your time folks.... PS. Why wouldnt it let me delete the post ?? Quote Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept and the wisdom to hide the bodies of those people I had to kill today cos they pi**ed me off.
Administrators PlausiblyDamp Posted November 3, 2003 Administrators Posted November 3, 2003 You could also have a parameter passed by reference - a bit more Object Orientated than global variables. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.