Path: news.cs.au.dk!noatun.mjolner.dk!mail-to-news From: Atle Newsgroups: comp.lang.beta Subject: =?iso-8859-1?Q?V=E6rsgo=27?= le jer ihjel ... Date: Tue, 07 Nov 2000 12:43:12 +0100 Organization: Posted to comp.lang.beta by a mailtonews script Lines: 44 Sender: lbr@mjolner.dk Approved: mailtonews@cs.au.dk Message-ID: <8u8pn0$65mgq$1@gjallar.cs.au.dk> NNTP-Posting-Host: bifrost.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: gjallar.cs.au.dk 973597216 6478362 130.225.8.27 (7 Nov 2000 11:40:16 GMT) X-Complaints-To: usenet@cs.au.dk NNTP-Posting-Date: Tue, 7 Nov 2000 11:40:16 +0000 (UTC) Mailing-List: contact usergroup-help@mjolner.dk; run by ezmlm X-No-Archive: yes X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: en X-Original-Message-ID: <3A07EAD0.4BC4D050@skynet.be> X-Original-Sender: atle@skynet.be Xref: news.cs.au.dk comp.lang.beta:12629 Dear Beta Wizards and Avantgarde Programmers of the 21st century! I am about to enter 2nd phase of my Acubase Beta implementation. It is (supposed to be) a system for acupuncture diagnosis and treatment. I now have 3 TextListBoxes in main.bet, you can now select symptoms from ca. 48 groups, and they will appear in the selection list. Selecting one goes (more or less) like this selection.first->Subgroup.Get->Symptoms.select; Getting the selected item in the list of 'selectable' and sending this to be selected. So far, so good. It works. You will laugh yourself to death when you see the Beta code, but this is my first attempt. It looks like perverted Java ... I now have to generate diagnoses from my symptom selection, but my main.bet is getting crowded, and also, I wanted a new window for this. So I started up a new file with ORIGIN in guienv like this -- Lib : Attributes -- Diagnosis : GUIenv (# ... (* New menus, new TextScrollLists and stuff here *) #) But when calling Diagnosis, &Diagnosis or as reference &Diagnosis[]->diag[]; diag; - the same happens: The caller freezes. So, I guess it's co-routine time again. I want these two to be running in a sort of 'interface parallel' DIAGNOSIS ||A TREATMENT where A = {All events that change the selected diagnoses} QUESTION: Am I on the right track? Q2 : If I have to go back, how far? What must I change? Thanks, Atle