Page 1 of 1 1
Topic Options
#154553 - 2006-01-04 09:42 AM Correct expression in KiXtart?
miksa Offline
Lurker

Registered: 2006-01-04
Posts: 1
? @MDAYNO + ", " + @MONTHNO
? "@MDAYNO, @MONTHNO"

returned

5
4, 1

I have tested this code with Kixtart version 4.51, 4.20 and 4.01 with same result. Kixtart Manual recommends using variables like in first line so I thought that this is a little bug or I have understood wrong. This is not a problem to me but I wanted to inform this feature.

Top
#154554 - 2006-01-04 10:00 AM Re: Correct expression in KiXtart?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Hello and welcome to the board,

the correct expression would be :

Code:

? "" + @MDAYNO + ", " + @MONTHNO



as @mdayno and @monthno return integer values and + is an operator it simply does the math on it (suppressing ", ")
_________________________



Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 1607 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.053 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org