![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
profile :
search :
help :
dashboard :
calendar :
home
|
||
|
Topic Title: OMString Topic Summary: Created On: 22-Jul-2004 16:35 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
How can I convert an integer to an OMString or Char?
Thanks Christopher F Carson I-Logix Inc. |
|
![]() |
|
![]() |
|
You could use something that is in the framework in om2str.h. I have
used this in a tcp model where I need to convert OMSTring to char in order to invoke a send(). (BTW I did send that model out) there is a prototype in that file that looks like this: char* x2String(const OMString& s); |
|
![]() |
|
![]() |
|
Ooops I got the wrong types, you said int to char... Anyways that email
was for FYI.... |
|
![]() |
|
![]() |
|
Try itoa()
Mark. |
|
![]() |
|
![]() |
|
you can also use OMitoa() (defined in oxf/rawtypes.h), it is better than itoa() because it has the same syntax for all compilers.
|
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
OMString
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.