Readln bug Windows10 Update lazarus / 34-Windows ---------------------------------------------------------------------- rteesdale · 2018-05-12 02:30 Hello, I have an issue that I'm pretty sure is not unique to me, I just can't seem to find answers anywhere. Well....Don't I feel silly.... As soon as I posted this I found a workaround that is very useful right here! http://forum.lazarus.freepascal.org/index.php/topic,36400.0.html Moderators...feel free to delete! The code below will throw an Error 106 when compiled and run as is. I've determined that for some reason the combination of two strings read before the real (multiple readln) is causing an issue. This only began after the April Windows 10 x64 updates. I'm having the issue on both free pascal 3.0.4 and Lazarus Release 1.8.2 (with FPC 3.0.4) (Which is obvious) I have no issue with Linux fpc 3.0.0 Since I really believe that this is a Windows 10 issue, is there any suggested work around? Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  program Windows10_Error_106;var  fname, lastName: string;    amountPaid: real; begin  writeln('Enter your first name');  readln(fname);  writeln('enter your last name');  readln(lastName);  writeln(fname, lastName);  writeln('Enter amount paid');   readln(amountPaid);  writeln(fname, lastName, amountPaid);  readln;end. ---------------------------------------------------------------------- Jurassic Pork · 2018-05-12 02:56 hello, i have no error with Windows 10 version 10.0.16299.431  64 bits, Lazarus 1.8.2 32 bits. Are you using the 64 bits version of Lazarus ? Friendly, J.P ---------------------------------------------------------------------- ASerge · 2018-05-12 02:57 Quote from: rteesdale on May 12, 2018, 04:30:21 amThe code below will throw an Error 106 when compiled and run as is. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  ...    amountPaid: real;begin...  readln(amountPaid);As far as I know, error 106 means that reading fails to convert to a number. ---------------------------------------------------------------------- rteesdale · 2018-05-12 03:39 @Jurassic Pork, It's a console buffering issue...using the crt library clrscr; did the trick! @ASerge yup, string data in the buffer was finding its way into the readln(num), which was expecting a real Thanks for trying to help!