New topic: 

Need Dictionary, Collection, and Date in Plugin...

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        FPN7670          Post subject: Need Dictionary, Collection, and 
Date in Plugin...Posted: Sun Feb 24, 2013 3:14 pm                         
Joined: Wed Feb 20, 2013 11:18 pm
Posts: 2                My plugin (a Module) needs to create, (manipulate in 
some cases), and return the following types/classes:

Dictionary
Collection
Date
MemoryBlock
String
Integer/Int__/UInt__
Single/Double
Boolean

.. The Plugin SDK covers Strings, Arrays, MemoryBlocks, and numeric types, but 
I'm not seeing anything about Dictionaries, Collections, or Dates.

How do I create, manipulate, and return instances of those 3 classes 
(Dictionary, Collection, and Date) from a plugin?


UPDATE:
I can see from some of the MBS Plugins that Dictionary and Date objects can be 
used/created in RB Plugins:

(Date) http://www.monkeybreadsoftware.net/basi ... thod.shtml
(Dictionary) http://monkeybreadsoftware.net/new-game ... vent.shtml

(plus many other examples from the MBS Plugin suite)

So, the question is: **how** is this being done when there is no mention of 
Dictionary or Date objects in the Plugin SDK?   
                             Top                FPN7670          Post subject: 
Re: Need Dictionary, Collection, and Date in Plugin...Posted: Sun Feb 24, 2013 
6:32 pm                         
Joined: Wed Feb 20, 2013 11:18 pm
Posts: 2                RESOLVED:

Just found this:

http://docs.realsoftware.com/index.php/ ... _Reference

eg:

REALclassRef dictionaryclass = REALGetClassRef("Dictionary");
REALobject dictionary = REALnewInstanceWithClass(dictionaryclass);
etc...   
                             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