![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: how to export integer value to a file? Topic Summary: Created On: 4-Aug-2003 22:46 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi All,
I am trying to export Object Level for each object to a file. But I got error. Does anyone know how to export integer to a file? Thanks in advance, hong Here is my code: Module m = current Object o = first m Stream report = write "report.doc" for o in m do{ int sObjectL=level(o) report << sObjectL } } close report |
|
![]() |
|
![]() |
|
You need to convert integer "sObjectL to a string, and I suspect you want to add a CR after each level:
report << sObjectL "\n" Also your output will look odd since you are only considering objects in the current display. If you change your loop to: "for o in entire m do" you'll get all the objects, including the hidden Header and Row objects of the DOORS tables. - Louie |
|
![]() |
|
![]() |
|
Louie,
Thanks a lot for your help! How to convert integer to string? You are right about my code too. I am going to modify it. thanks again, hong |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
how to export integer value to a file?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.