I have been making some use of hugs server. All of my functions pass
down arguments which are integers or strings, and pass up pairs of
integers and strings. In a previous message (a while back), I gave some
information on taking apart the pairs. Originally I wanted to pass some
other data type, but found that they didn't work (I didn't make a note
of why not; I think I just get errors when I called hugs->clearError()).
The restrictions seem to be:
- types declared using data Foo = ... don't work. Ones declared using
type Foo = .. are OK.
- Int, String and Float are OK. Ptr is not.
For my program, I can construct workrounds for these, albeit with a bit
of overhead. So perhaps they can be noted as issues for later releases.
-- David
_______________________________________________________________________
David Elworthy <[EMAIL PROTECTED]>
Canon Research Centre Europe Ltd., Guildford, Surrey, UK
URL: http://www.cre.canon.co.uk/
Phone: +44 1483 448844; Fax: +44 1483 448845