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: startup.dxl notification message
Topic Summary:
Created On: 15-Aug-2006 16:20
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.
Answer This question was answered by Kevin Murphy, on Tuesday, August 15, 2006 9:14 PM

Answer:
After reading and rereading, I messed with the eval_("exit_()") and halt statements and it seemed to work. Not sure I like this solution though, so if anyone has anything better I'm listening.
 15-Aug-2006 16:20
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

I want to modify users' startup.dxl file to display a message at login. If the user disagrees with the message, DOORS exits.

Here's the code:

//
if (! confirm "POP UP MESSAGE")
exit_()
//

What happens is that the if statement loops if the user clicks cancel. If they click cancel first and then click agree, then DOORS exits. If they click agree DOORS works as normal.

I am on DOORS 7.1. Does anyone have any ideas as to how to get around this? I know it can be done.

Thanks,
Kev

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 15-Aug-2006 17:09
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

Okay, so I kept researching here and found the following thread:

https://support.telelogic.com/en/doors/forums/messageview.cfm?catid=17&threadid=3532&highlight_key=y&keyword1=exit%5F


But I don't know what I need to do to get exit_() to work. Help?

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 15-Aug-2006 18:57
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

Answer Answer
After reading and rereading, I messed with the eval_("exit_()") and halt statements and it seemed to work. Not sure I like this solution though, so if anyone has anything better I'm listening.

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.