Re: Proposal for a (small) enhancement to the value() function.
- Posted by Derek Parnell <ddparnell at bigpond.com> Jun 26, 2007
- 706 views
Bernie Ryan wrote: > I would rather that value() function just return the value > instead of sequence. The failure should fail within function with > a message. include get.e function toNumber(sequence pData) sequence lTemp lTemp = value(pData) if lTemp[1] != GET_SUCCESS then crash_message("toNumber: Failed to convert " &pData) ? 0/0 end if return lTemp[2] end function -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell