Solved

Integer -> string

Posted on 1998-11-24
2
208 Views
Last Modified: 2010-04-16
Can anyone tell me how i get an integer value into an 'array of char' for example. Thanks.
0
Comment
Question by:pobwest
2 Comments
 
LVL 27

Accepted Solution

by:
BigRat earned 50 total points
ID: 1216186
Try the Str() procedure in the run-time system.

Unit System

procedure Str(X [: Width [: Decimals ]]; var S);

Description

The Str procedure converts X to a string representation according to the Width and Decimals formatting parameters. The effect is like a call to Write except the resulting string is stored in S instead of being written to a text file.
X is an integer-type or real-type expression. Width and Decimals are integer-type expressions. S is a string-type variable or a zero-based character array variable if extended syntax is enabled.
OK?
0
 

Author Comment

by:pobwest
ID: 1216187
oh yeah, i can figure it out from here i just needed the command to use, cheers!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Returning BSTR from a Delphi COM .DLL 2 1,856
Utf8 encode 2 567
SHBrowseForFolder - Preselecting a folder 5 254
my delphi exe application have  problem with windows explorer ! 12 80
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now