[Newbies] RE: problem with text editor

2008-11-24 Thread Alex Chi
Hi Herbert, Sorry for not being so clear. I'm trying to design a GUI using input field where user will input their name and the other part of the GUI is like another text field to display all the list of user input. Let's say user input name: Lisa and hit enter button, the GUI will display:

Re: [Newbies] How to create new exception

2008-10-14 Thread Alex Chi
From: Alex Chi [EMAIL PROTECTED] To: beginners@lists.squeakfoundation.org Sent: Monday, October 13, 2008 5:18:43 PM Subject: Re: [Newbies] How to create new exception Thank you all! I already solved my problem. Thanks for your help. regards, alex - Original Message From: Alex Chi

Re: [Newbies] How to create new exception

2008-10-13 Thread Alex Chi
] My question is where do I write this code? Is it in one of my method for example I create spontaneousCombustionSignal method, and I write this code there? Alex == Alex Chi [EMAIL PROTECTED] writes: Alex Can you give me an example on how to create new exception and call/use Alex

Re: [Newbies] How to create new exception

2008-10-13 Thread Alex Chi
Thank you all! I already solved my problem. Thanks for your help. regards, alex - Original Message From: Alex Chi [EMAIL PROTECTED] To: beginners@lists.squeakfoundation.org Sent: Monday, October 13, 2008 12:31:18 PM Subject: Re: [Newbies] How to create new exception Thanks a lot

Re: [Newbies] How to create new exception

2008-10-12 Thread Alex Chi
Can you give me an example on how to create new exception and call/use that exception in my program? I try to googling but don't seem to find one. Thanks. - Original Message From: Randal L. Schwartz [EMAIL PROTECTED] To: Alex Chi [EMAIL PROTECTED] Cc: beginners

[Newbies] How to create new exception

2008-10-09 Thread Alex Chi
Hi All, As a beginner in smalltalk I have a problem on how to create new exception class. For example I want to create FileNotFoundError, I have create a new class FileNotFoundError uner class Error. But then I get confuse where to write the description or defaultAction of my new exception?

[Newbies] Collection in Smalltalk

2008-09-24 Thread Alex Chi
Hi guys, I am just beginner in Smaltalk and I have some problem with collection in smalltalk. For this problem I have to define the value of an alphabetic character based on its location in the alphabet. So ‘a’ and ‘A’ each have value 1, ‘b’ and ‘B’ each have 2, etc. Non-alphabetic