News for hackers. Stuff that matters.
Re:Castle Engine – free, os, x-platform, 2D/3D game engine u... by vrruiz on Monday February 19, 2024 @11:13PM (#39437995)
Well, other simpler options are:

  if (input in ['Y', 'y']) then
    WriteLn('blah blah')
  else if (input in ['N', 'n']) then
    WriteLn('blah')
  else
    WriteLn('Input invalid');
And:

  if (LowerCase(input) = 'y') then
    WriteLn('blah blah')
  else if (LowerCase(input) = 'n') then
    WriteLn('blah')
  else
    WriteLn('Input invalid');

There are no comments on this comment yet.