home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,550 of 2,978   
   Rudolf Wiesendanger to Wolf Behrenhoff   
   Re: how to make a 'beep sound' from the    
   01 May 05 18:09:12   
   
   From: ruediw@lycos.com   
      
   Wolf Behrenhoff  wrote in   
   news:4272efaa$0$7533$9b4e6d93@newsread2.arcor-online.net:   
      
   > tomr wrote:   
   >> hi i'm new to pascal and i want to know how to create a beep sound   
   >> from inside the PC.   
   >> i've read in an old pascal book how to do this, it said: if the ascii   
   >> character nr. 08 is wrote to the screen the computer will produca a   
   >> beep sound.   
   >   
   > It is character no. 7. So simply do this:   
   >   
   > program beep;   
   > begin   
   >    Write(#7);   
   > end.   
   >   
   > Wolf   
   >   
      
   Or:   
      
   Write(^G);   
      
   Rudolf   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca