View Single Post
Old 02-14-2005, 06:30 AM   #4 (permalink)
Kadath
Muffled
 
Kadath's Avatar
 
Location: Camazotz
Quote:
Originally Posted by yatzr
well, i'm not using the .net version...VB6 doesn't have that but I found it anway.
I do have another question now though.

Can someone explain the structure of a class and relate it to a typical java class? I understand java classes pretty good but I'm pretty lost on VB classes (at least with the variables and properties...I don't understand what those are). Also, with methods, how do I "return" a value?
I am not spectacular with VB, but instead of returning, you can pass a variable ByRef instead of byVal and the actual variable is changed. So if you declare the variable in the main, then run a module with the variable passed as an argument ByRef and when you finish the module the variable itself will have changed.
__________________
it's quiet in here
Kadath is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76