It is currently Wed Feb 08, 2012 6:25 pm

All times are UTC



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Passing arrays
PostPosted: Mon Jan 12, 2009 3:43 am 

Joined: Wed Dec 10, 2008 10:51 pm
Posts: 138
Whats the Rhapsody preferred method to pass an array of objects in a function parameter? Should I set the direction to InOut, and change the CCP_CG->Type->InOut value? Or should I create a new type with multiplicity set to *? Or, is there a way to just tell Rhapsody that its an array?


Offline
 Profile  
 
 Post subject: Re: Passing arrays
PostPosted: Thu Oct 15, 2009 8:50 pm 

Joined: Tue Sep 29, 2009 8:47 pm
Posts: 3
Also wondering about this, if anyone has any insight please post! :)


Offline
 Profile  
 
 Post subject: Re: Passing arrays
PostPosted: Fri Oct 16, 2009 3:06 pm 
User avatar

Joined: Thu Sep 13, 2007 7:34 pm
Posts: 397
Location: London
Just pass a pointer to the 'array'.


Attachments:
File comment: Simple array of objects being passed
Project.zip [12.49 KiB]
Downloaded 59 times
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:


suspicion-preferred