New topic: 

Trapping NilObjectExceptions

<http://forums.realsoftware.com/viewtopic.php?t=24876>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       brianheibert.com           Post subject: Trapping 
NilObjectExceptionsPosted: Mon Oct 20, 2008 12:09 pm                            
   
Joined: Thu Jan 25, 2007 7:38 pm
Posts: 345
Location: Loveland, OH USA              OK I got this:

Code:
dim f as folderItem
dim path as string
f = GetOpenFolderItem 
(opentypes.SpecialDisk+opentypes.SpecialFolder+opentypes.Any)
path = f.absolutepath
CopyMate.OrigFilePath.text = path



Now how do I trap for NilObjectExceptions
Do I use f or path?

Brian   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to