Forum Post: RE: bug with longchar

  • Thread starter Thread starter jmls
  • Start date Start date
Status
Not open for further replies.
J

jmls

Guest
Mike, I was returning a value from the finally block because I was wanting to always return the value of lv_data at any point in time. Ans was being lazy and didn't want to have to remember to put checks everywhere. However if you replace the return lv_data on lines 7 and 20 with just return then it also works just fine. This is actually how I hit the error. I didn't like seeing the little warning symbol in the editor next to " return ." this warning message actually says " WARNING: RETURN statement in user defined function or method 'notfoo' is missing a return value expression. At runtime it will return the unknown value. (2750) " which is kind of ironic as it actually makes the whole thing work ;)

Continue reading...
 
Status
Not open for further replies.
Back
Top