1. Peek help. Odbc.e
- Posted by Mike Sywensky <michaelsy at ?ahoo.co?> Apr 29, 2008
- 597 views
I've been working with the odbc.e lib and SQL server and my lack of eu skills has caught up with me. I added support for the small int type, but it only works for positive #'s. What I need is a peek2s function. A peek8s is also needed for big int support. Any gurus have some code for this? Thanks
2. Re: Peek help. Odbc.e
- Posted by mic <micol972 at gmai??com> Apr 29, 2008
- 584 views
There may be faster ways, but: function peek2s(atom a) integer i i = peek(a) + peek(a+1)*#100 i -= and_bits(i, #8000)*2 return i end function