I'm trying to make a simple looping program but get the error on line 18, subtype mark required in this context, but I don't get this error when running other programs?
with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
with Ada.Strings.Unbounded;
use Ada.Strings.Unbounded;
with Ada.Text_IO.Unbounded_IO;
use Ada.Text_IO.Unbounded_IO;
procedure main is
input : Unbounded_String;
begin
while input not in "!Close" loop --Line 18
Get_Line(input);
end loop;
end main;