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: Standards & guidelines for DXL code
Topic Summary:
Created On: 30-Dec-2003 22:16
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.
 30-Dec-2003 22:16
User is offline View Users Profile Print this message


Ward Edwards

Posts: 3
Joined: 22-Dec-2003

I am looking for information as to standards and guidelines for DXL code.

Things like: naming standards for (files, functions, variables, etc) comment standards, general code structure such as indents, spacing, organization of functions within a file, dxl file naming standards.
Report this to a Moderator Report this to a Moderator
 9-Jun-2005 22:48
User is offline View Users Profile Print this message


Andre Quillen

Posts: 13
Joined: 10-May-2005

Hey!  That link did not work for me.  Does anyone have that file that they could provide here?

Thanks,

Andre Quillen
Report this to a Moderator Report this to a Moderator
 13-Jun-2005 15:26
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Some tips.
Treat DXL with the same respect as you would the C programming language. In other words, restrict source file sizes, encapsulate code in functions, always initialise variables (caveat: do not initialse variables of Item to null, this sometime causes an error) etc etc...

Also, turn auto declaration OFF. This ensures that all variables are properly declared before use.
To do this add the following line to startup.dxl:
XFLAGS_ &=~AutoDeclare_

-------------------------
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.