Subj : [MPL] Tutorials To : All From : fang-castro Date : Tue Dec 07 2021 07:49 pm I'm going through Black Panther's MPL tutorials and just wondering if some of this stuff is keeping people from trying to learn MPL. My guess is MPL has changed since the tutorials were written. I kind of enjoy the subtle 'bugs' I run into and don't get me wrong, I'm not knocking BP - thank you for the tutorials! Here's what I was able to figure out on this first lession. The USES command needs to preceed each "uses". The "Byte" vartype doesn't work with "Input(#,#,#,'')" I was getting type mismatch errors with the compiler. I just changed it to string for now instead of trying to figure out how "Byte" works. The first snippet is the original code from Tutorial 1 and the second snippet is what I changed it to so it would compile. I guess the point of this is to spark a little MPL discussion in the echos and act as a warning to everyone that I will probably be asking a lot about MPL in the future. =) ---8<------------------------------------------------------------------------- Uses User CFG Var Age : Byte Name : String[20] Begin WriteLn('What is your name?') Name:=Input(20,20,3,'') WriteLn('Hi '+Name+'! How old are you?') Age:=Input(2,2,10,'') WriteLn(Name+' are you really only '+Age+' years old?') End ---8<------------------------------------------------------------------------- Uses User Uses CFG Var Age : String[2] Name : String[20] Begin WriteLn('What is your name?') Name:=Input(20,20,3,'') WriteLn('Hi '+Name+'! How old are you?') Age:=Input(2,2,10,'') WriteLn(Name+' are you really only '+Age+' years old?') End ---8<------------------------------------------------------------------------- Thanks to: Black Panther, XQTR and Phenom Productions for all the MPL related texts/mods I've acquired to help me with my MPL edjumakayshun! --- Mystic BBS v1.12 A47 2021/08/10 (Linux/64) * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (21:1/158) .