Page 1 of 1 1
Topic Options
#180023 - 2007-08-31 01:12 PM Variables of type Double do not resolve when wrapped in quotes
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
See Real numbers do not resolve in strings
 Code:
BREAK ON
$Long = 1
$Double = 1.1
$String = "a"
? VarTypeName($Long)
? $Long
? "$Long"
?
? VarTypeName($Double)
? $Double
? "$Double"
?
? VarTypeName($string)
? $String
? "$String"
?
? @KIX
? @SCRIPTEXE

Shows on screen:
 Code:
Long
1
1

Double
1,1


String
a
a

4.53
KIX32.EXE

Top
#180026 - 2007-08-31 01:41 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: Witto]
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Good catch! Doubles inside strings are indeed not displayed and this should have been mentioned in the manual as such.

Considering this behaviour has always been like this, and that using variables inside strings is discouraged anyway, the issue will not be fixed. (Unless anyone comes up with an "offa I cannee refuse" :-))

Kind regards,

Ruud

Top
#180027 - 2007-08-31 02:14 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: Ruud van Velsen]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
 Originally Posted By: Ruud van Velsen
the issue will not be fixed. (Unless anyone comes up with an "offa I cannee refuse" :-))
I will buy you a beer

Top
#180028 - 2007-08-31 02:34 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: Witto]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
I'll buy two if you leave it as is \:\/
Top
#180032 - 2007-08-31 03:19 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: Richard H.]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4567
Loc: USA
 Quote:
I'll buy two if you leave it as is \:\/


LOL

Top
#180165 - 2007-09-05 06:06 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: Allen]
BillBarnard Offline
Starting to like KiXtart

Registered: 2007-03-14
Posts: 141
Loc: Leighton Buzzard, Bedfordshire...
I reported this ages ago with all versions of KiXtart after and including V4.50
Please sort as I use like to use variables resolving inside strings as it's so easy to program.
_________________________
Bill

Top
#180166 - 2007-09-05 06:16 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: BillBarnard]
BillBarnard Offline
Starting to like KiXtart

Registered: 2007-03-14
Posts: 141
Loc: Leighton Buzzard, Bedfordshire...
Just to update - WITTO said on 14/08/07 11:22PM about this bug:-

So it can be moved to the beta forum (once again My Humble Opinion: with very low importance)?

I see I'm down as a "Fresh Scripter", but I've actually been using KiXtart from V3.20

All the best,

Bill
_________________________
Bill

Top
#180168 - 2007-09-05 06:48 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: BillBarnard]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Don't mind about the title, that changes with the number of posts you make.
 Originally Posted By: Ruud van Velsen
Considering this behaviour has always been like this, and that using variables inside strings is discouraged anyway, the issue will not be fixed. (Unless anyone comes up with an "offa I cannee refuse" :-))
As Ruud is the developer of KiXtart, I am affraid you will have to exclude your variables from your strings.
Or maybe buy him three beers. \:D

Top
#180169 - 2007-09-05 07:37 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: Witto]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
BillBarnard,
Experience is a good thing, but all things are Relative,... ;\)
A KiXGolf session will be kicking off on Friday September 7th 2007
Join in on the fun \:D all are welcome
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#180206 - 2007-09-06 06:04 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: Benny69]
BillBarnard Offline
Starting to like KiXtart

Registered: 2007-03-14
Posts: 141
Loc: Leighton Buzzard, Bedfordshire...
Three Beers it is then.
Have you tried Brakspears?
http://www.brakspear-beers.co.uk/
_________________________
Bill

Top
#180209 - 2007-09-06 07:20 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: BillBarnard]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
No, not yet. I haven't finished trying all Belgian beers yet
It is a pity Michael Jackson died a few days ago. Here is an article.
http://www.beerhunter.com/documents/19133-000122.html
Whoops, really getting of topic here. Anyway. I will also upgrade my previous offer to three beers. That makes six beers if I add these to your offer.

Top
#180211 - 2007-09-06 07:25 PM Re: Variables of type Double do not resolve when wrapped in quotes [Re: Witto]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
Please refrain from OFF TOPIC discussions in the BETA forum. Thanks
Top
Page 1 of 1 1


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

Who's Online
1 registered (Allen) and 373 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.063 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.