![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Hexidecimal Converter Topic Summary: Created On: 11-Mar-2003 17:30 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I need to display an integer attribute as a hexadecimal number. I couldn't find anything that seemed
to display an integer as a hex. Does anyone know of any undocumented DXL feature that might do this? Being there didn't appear to be anything, I figured it wouldn't be too difficult to write a layout script to do such a thing. The basic test code is attached. However, DXL seems to have some funny behaviors with int. One of the test I tried was -1 hoping to get FFFF FFFF, this bombed on an invalid index. Okay, I thought, let me see how it handled int > 7FFF FFFF (2147483647). It seemed to limit the int to max 2147483647. So my question is does anyone know how DXL treats ints, or have run across this problem and have workaround. As I was testing the code, I seemed extremely slow. I orginially used a text Buffer in place of string and did a number of other things, but it seems extremely slow. It doesn't seem too bad when it was actually inserted into a layout column. Any thoughts? Thanks in Advance Frank Lipski |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Hexidecimal Converter
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.