#38875 - 2003-04-08 12:21 AM
Re: Convert value to a string
|
Jochen
KiX Supporter
   
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
|
|
Top
|
|
|
|
#38877 - 2003-04-07 01:02 PM
Re: Convert value to a string
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Not quite right.
You are attempting to catenate the numbers as strings, so the "correct" way to do it is to explicitly cast the individual elements first:
code:
CStr($n)+CStr($o)+CStr($p)
Of course, that is a lot of unnecessary typing when you can use the auto-casting features of KiXtart:
code:
CStr($n)+$o+$p
The left-to-right processing of operators with equal precedence will ensure that this will work as well.
This may be a little heavy for Starters
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 384 anonymous users online.
|
|
|