[m-users.] Question about strings

Astrid Garcia mellgarcia0397 at gmail.com
Mon Apr 2 09:23:48 AEST 2018


I would appreciate help regarding reading input and using it in functions.
I am working on a program in which I need to read input, store it in a
variable. How can I do this? and plus how can I declare a function that
takes a string, a number as input and outputs another string. I created one
for mod operation "pred modnum(int::in, int::out) is det." how would the
other function be constructed if it's taking in an int a string and it will
output a string?

Thank you for your time,

Astrid Garcia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20180401/4ec1a863/attachment.html>

More information about the users mailing list