New topic: 

Ptr.Class

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        doofus          Post subject: Ptr.ClassPosted: Wed May 08, 2013 
10:24 pm                                 
Joined: Thu Sep 10, 2009 2:50 am
Posts: 405
Location: Santa Cruz, CA, USA                From the docs for Ptr   
http://docs.realsoftware.com/index.php/Ptr
Quote:You can convert the value referenced to by the pointer to a specific 
datatype using the Pointer Properties: Boolean, Byte, CFStringRef, Class, ...
Class? Only the one mention and no links so I went to auto-complete where it 
does show up as
Ptr.Class( offset as Integer = 0 ) As ClassTried several ways to code it, 
always a syntax error. "Class" isn't a datatype so I didn't expect it to work; 
must be a quirk like how you can see stuff with Introspection you're not 
supposed to. But then I don't understand why it's mentioned in the docs if its 
not for something.   
                             Top                charonn0          Post subject: 
Re: Ptr.ClassPosted: Wed May 08, 2013 11:01 pm                                 
Joined: Mon Apr 02, 2007 2:08 am
Posts: 1204
Location: San Francisco, CA, USA                I've never noticed that, and it 
wouldn't work for me either (syntax error.) My curiosity is piqued!      
_________________
Boredom Software  
                             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]

Reply via email to