no,

a usrdef can return a string. In fact, when you give a string as
argument, you get type-errors if you return a non-string (well on my
8235 anyway). Maybe i'm just doing something wrong but i havent figured
out yet what it is. I've the msx2 technical handbook here from ASCII,
but it's very brief on usrdefs.. It's pretty brief on anything actually
:) The MSX1 Technical handbooks from Sony and Mickeysoft arent any
better :/

Floris

Maarten ter Huurne wrote:
> 
> On Fri, 05 May 2000, Floris 'Tamama' van Gog wrote:
> 
> > I'm making a little program in basic. In it i need to call some
> > assembler function i made that takes a string as arg, and returns _a
> > different string_
> 
> How do you want 'usr' to return a string (any string)?
> 
> As far as I know, 'usr' can use a string argument, but will always return
> an integer.
> 
> Bye,
>                 Maarten

****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
 The MSX faq: http://www.faq.msxnet.org/
 The MSX newsgroup: comp.sys.msx
 The MSX IRC channel: #MSX on Undernet
****

Reply via email to