On 19/10/10 19:49, charlesg wrote: > Just as well! I just tested my version and it doesn't work anyway. :,( > > 'echo -e \\007' does work from terminal. > > > > Benoît Minisini wrote: >>> SHELL "echo -e \"\\007\">/dev/tty10" >>> >>> I think I got that from this forum. >>> >>> bbb888 wrote: >>>> Pretty simple? >>>> >>>> How can I make the computer go "beep" >> In Gambas, PRINT Chr$(7); if you are running inside a terminal. But if >> your >> terminal is an emulator (e.g. konsole), you may have to configure it to >> actually make a true beep. >> >> Regards, >> >> -- >> Benoît Minisini >> >> ------------------------------------------------------------------------------ >> Download new Adobe(R) Flash(R) Builder(TM) 4 >> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly >> Flex(R) Builder(TM)) enable the development of rich applications that run >> across multiple browsers and platforms. Download your free trials today! >> http://p.sf.net/sfu/adobe-dev2dev >> _______________________________________________ >> Gambas-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> Amazing!! Thank you both. In fact all 3 or was it four methods seem to work. Apologies. I did not think to search the forum.
Anyway, (beep,beep) I'd better go .... Thanks again Bruce p.s. If its of interest, I am matching patient data over five historical databases ( up to 22 years old) for some pathology research guys. I now have all databases loaded "in image" into postgresql databases and am trying to match the patients based on names, addresses, referring doctor etc etc. Its a lot of "fun" trying to determine strategies to decide on a match or not! But we are now down to 145000 odd un- or "not sure" matches from over 1,600,000 pathology test reports. The big project is about determining how much pathology has improved, my part is just to try and fine down pathology history into "unique patient" histories. I got the job because about 30 odd years ago I was involved in the development of one of the original "Soundex" systems in Australia to try and match patients in a casualty ward. It is a bit of fun determining the fuzzy logics here though, like "if patient.gender = "male" and matchpatient.pathtest="Pap Smear" then EliminateMatch(patient, matchpatient)" etc etc but we do get down to things like is Mr C Lo the same as Mr C Low etc. So each run over the 145000 ( and dropping) suspect matches is aimed at trying one or two new rules to eliminate incorrect matches. By the way, the 145000 suspects has around 750,000 matchpatients. So there is a way to go yet. Each run reveals the possibilty of new rules, but sometimes the existing rules don't resolve to 100% yes or no. Hence the need for the beep when the "superbrain" needs a bit of help. ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
