Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Specifying an array as a function argument
Topic Summary:
Created On: 12-Mar-2007 10:32
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 12-Mar-2007 10:32
User is offline View Users Profile Print this message


Paul Newton

Posts: 16
Joined: 2-Aug-2006

Is it possible to get Rhapsody to speify an array as a function argument? As an example,

void func1(unsigned char array[], unsigned char arraySize)

as opposed to

void func1(unsigned char* array, unsigned char arraySize)

I have had a look under the properties but don't see anything immediately obvious.

Thanks,
Paul
Report this to a Moderator Report this to a Moderator
 12-Mar-2007 11:30
User is offline View Users Profile Print this message


Paul Newton

Posts: 16
Joined: 2-Aug-2006

I have now discovered how to do this

In the argument properties overide the existing type and put:

unsigned char %s[]
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.