Has anyone who's running XP had any problems with MapBasic 7.0
functions that return a SmallInt? I had an app at a client site
that was always returning zero until I changed the call to return
an Integer. Either XP doesn't handle SmallInt returns or it was
just one of those wierd things that fixed itself magically.

I don't have XP myself, so I wasn't able to experiement, but if
anyone can verify this I'd like to know. For example, does this
code return a 2 running in XP?

'---
declare sub main
declare function deuce() as smallint

sub main
  note deuce()
end sub

function deuce() as smallint
  deuce = 2
end function
'---

-- 
- Bill Thoen
------------------------------------------------------------ 
GISnet, 1401 Walnut St., Suite C, Boulder, CO  80302
tel: 303-786-9961, fax: 303-443-4856
http://www.gisnet.com/
------------------------------------------------------------

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 8228

Reply via email to