Datatype Conversion

[ Follow Ups ] [ BasicCard User Forum ]

Posted by sujeetn ( on June 03, 2009 at 14:40:36:

I need to convert Integer/ Long value to string*2/string*4 so that they can be sent to the terminal program as string.
The terminal program can reconvert back these string to Interger or Long as required.

To do that, currently I am using the following method.
Declate LongValue As Long: LongValue = 1234
Declare LongString$ As String*4 At LongValue

Is this the only way or there are better methods???

Follow Ups:

[ Follow Ups ] [ BasicCard User Forum ]