code_junkie

Why does a VB.Net function that returns string only actually return a single character?

Nov 11th, 2011
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. Public Function GetSomeStringValue(Value as Integer) As String
  2. ... Code Goes here
  3. Return Some_Multicharacter_string
  4. End Function
  5.  
  6. SomeStringValue = GetSomeStringValue(Value)
  7.  
  8. Public Function GetSomeStringValue() As String
  9. ... Code Goes here
  10. Return Some_Multicharacter_String
  11. End Function
Add Comment
Please, Sign In to add comment