IntToStr
Previous  Top  Next

Prototype

StrOutput:= IntToStr(intInput)

Description

It transforming the integer passed as parameter into string.

Parameters

IntInput:
integer value to be transformed into string.

Returned value

StrOutput:
it contains the converted number into string.

Notes

the parameter IntInput has to be a number of integer type, namely, between -32768 e 32767.

Example

//It opens the invoices table
UnaTabella:=TableOpen('c:\invoices\index\','invoices.db'); 

//  variable
Value:=78;

// It converts the variable value from integer to string
NewValue:=IntToStr(Value);

//It sets the current record edit mode 
TableEdit(UnaTabella);

// It changes the field value
TableSetFieldByName(UnaTabella, 'order number', NewValue);

// It confirms the change
TablePost(UnaTabella);

// It executes other operations