Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Problems with storing functions in DxlObject. Please help.
Topic Summary:
Created On: 19-Feb-2008 14:44
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
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.
 19-Feb-2008 14:44
User is offline View Users Profile Print this message


David Jakad

Posts: 94
Joined: 20-Jul-2007

The following DXL code crashes DOORS.

I am trying to store functions in a DxlObject. The problem seems to be when I try to pass a function into fnRegister and then store that as (o->"Function 2" = fn). When it tries to invoke that function, it dies. Although, storing the function directly as (o->"Function 1" = fnDummy) works just fine.

Can someone help me?
Report this to a Moderator Report this to a Moderator
 19-Feb-2008 16:31
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Only works if the function has at least one parameter.
This is explained by Louie in the following thread:
Storing functions in DXLObject

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 19-Feb-2008 19:55
User is offline View Users Profile Print this message


David Jakad

Posts: 94
Joined: 20-Jul-2007

But doesn't fn have one string parameter?

There is another related thread here.

I guess I will re-read these threads and experiment some more. Sorry if it seems I'm asking the same question over and over again. Hopefully, the light bulb will go off for me soon. Thanks for your help.

Edited: 20-Feb-2008 at 15:41 by David Jakad
Report this to a Moderator Report this to a Moderator
 20-Feb-2008 13:41
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Surely it would be better if the light came on?

Only kidding. This is a complicated thing you are try to do and the syntax is very ugly and tricky to understand.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

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