| To: | REALbasic Network Users Group <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: Encodings changed? |
| From: | Markus Winter <markus_winter@online.de> |
| Date: | Tue, 30 Jun 2009 08:38:16 +0200 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <4A493C63.9070309@inspiringapps.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
| Thread-index: | Acn5TVkil4JKjmVAEd6KegAX8sP4eQ== |
| Thread-topic: | Encodings changed? |
| User-agent: | Microsoft-Entourage/11.4.0.080122 |
Thanks Joe. > Could be -- I wouldn't recommend depending on that, however. I don't. I'm just making a video tutorial on encodings and found that different versions of REALbasic display a file with undefined encoding differently. >> Dim enc as TextEncoding >> s = Macfile >> enc=s.Encoding >> Exception err as NilObjectException >> MsgBox err.message >> >> Although enc is Nil no error is raised and no MsgBox is being displayed. > > Why would it? A NilObjectException is raised when you do something with > (i.e. dereference) a nil object. Although enc is nil, you haven't tried > to do anything with it. > But note that the whole code snippet you posted is pointless -- That's what I thought too, but since I copied it from the LR I wondered if I'm missing something ;-) Thanks again Markus _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Anyone else catch this tidbit? - Ex-Borland's Delphi owner re-ignites cross-platform dream, Denis Crowther |
|---|---|
| Next by Date: | Re: Win7 may ship w/o IE8 in Europe?, Alexei Vinidiktov |
| Previous by Thread: | Re: Encodings changed?, Joe Strout |
| Next by Thread: | Re: Encodings changed?, Joe Strout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |