Solved

Integer -> string

Posted on 1998-11-24
2
207 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Youtube stream inside Delphi 1 1,430
"Color-coding" the characters in an edit box? 12 190
Conversion ? 15 85
Inno Setup -> Add App Pin to Task Bar 1 541
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

13 Experts available now in Live!

Get 1:1 Help Now