New topic: insubstantiating a global object... help!
<http://forums.realsoftware.com/viewtopic.php?t=46445> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message Dave_ Post subject: insubstantiating a global object... help!Posted: Sat Jan 05, 2013 6:11 am Joined: Wed Sep 15, 2010 1:48 pm Posts: 68 I am writing a little program to take my palm notes (1500 notes) into a real database. I have an object called palm_memo_db and that is a property as app.Palm_notes, as declared as Palm_notes() as palm_memo_db. I know I need to insubstantiate it, but I run into problems. Any help would be great. I put palm_notes in a module, made sure it was global and in a bevelbutton I wrote: if Palm_notes = nil then Palm_notes as new palm_memo_db end if I get syntax error, other times I get this can not be used as a function, it is a class with properties, nothing else. _________________ RS2012r2 Pro Win Top ktekinay Post subject: Re: insubstantiating a global object... help!Posted: Sat Jan 05, 2013 12:27 pm Joined: Mon Feb 05, 2007 5:21 pm Posts: 335 Location: New York, NY Palm_notes = new palm_memo_db "as" is only used when declaring a variable type. _________________ Kem Tekinay MacTechnologies Consulting http://www.mactechnologies.com/ Need to develop, test, and refine regular expressions? Try RegExRX. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
