[m-users.] Trying to create a simple bank account monitoring system with IO

Tomas By tomas at basun.net
Fri Nov 10 06:24:12 AEDT 2017


Hi again,

I assume you want to type in name, number, funds. The last two need to be converted.

Then you just say

  Account = account(Name,Number,Funds) 

Not really sure how you managed to get stuck after having done the harder part and having a compiling program. There is no particular need for maybe.

/Tomas



> On November 9, 2017 at 8:05 PM zeldangit <zeldangit at gmail.com> wrote:
> 
> 
> Hello,
> 
> I am sorry to bother you guys again but I am a bit stuck. I have this code
> <https://gist.github.com/zeldangit/3e8ab74c1af0a47e86d7aa2e42ad54d4> in
> which I am trying to create a simple system for creating a bank account and
> checking the current balance. Right now I am stuck on the most simple IO
> stuff. In particular, I know I should be using a 'maybe' but I am unsure of
> how to do it. Any help would be much appreciated.
> 
> Thank you for taking the time to read this.
> _______________________________________________
> users mailing list
> users at lists.mercurylang.org
> https://lists.mercurylang.org/listinfo/users


More information about the users mailing list