home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / tot5.zip / DEMIO1.PAS < prev    next >
Pascal/Delphi Source File  |  1991-02-11  |  440b  |  25 lines

  1. program DemoIOOne;
  2. {demIO1 - single field input}
  3.  
  4. Uses DOS, CRT,
  5.      totFAST, totIO1, totIO2;
  6.  
  7. Var
  8.    Price: FixedRealIOOBJ;
  9.  
  10. begin
  11.    ClrScr;
  12.    with Price do
  13.    begin
  14.       Init(35,5,8,2);
  15.       SetLabel('How much was the doppleganger? ');
  16.       SetValue(250.0);
  17.       SetMinMax(0.1,12250.0);
  18.       SetRules(EraseDefault);
  19.       Activate;
  20.       Writeln;writeln('You entered ',GetValue);
  21.       Done;
  22.    end;
  23. end.
  24.  
  25.