1. Peek help. Odbc.e

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

new topic     » topic index » view message » categorize

2. Re: Peek help. Odbc.e

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu