Page 1 of 1 1
Topic Options
#77384 - 2001-04-02 08:26 PM I'm the first one here
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
I got to be first!!!!!

I may even download the beta now.

_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#77385 - 2001-04-02 08:27 PM Re: I'm the first one here
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
damn...
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#77386 - 2001-04-02 08:35 PM Re: I'm the first one here
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
I have a tingly feeling.......

Does kix2001 support floating decimal point??

looking at the command VARTYPE() would indicate that yes kix2001 supports floating decimals.....but so far my attempts at working with a decimal number have failed.

Bryce

------------------
kix.isorg.net

Top
#77387 - 2001-04-02 09:23 PM Re: I'm the first one here
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Bryce:

I saw the same thing and had the same tingly feeling. Then I tried it and no worky.

I think the extra vartype() "types" are only used to check the return values from OLE methods and properties. But since (probably) they always come back as strings anyway - how would vartype() work ?

Might be worth a quick test against Excel to try and return a floating-point value and see how KiX interprets !

Shawn.

Yup - that's what it is used for...

code:

break on cls


$excel = createobject ( "excel.application" )


if $excel


$excel.visible = 1
$excel.displayalerts = 0


$workbooks = $excel.workbooks


if $workbooks


$= $workbooks.add()


$cell = $excel.activecell


if $cell

$formula = ".123 + .234"


$cell.formula = "=$formula"


$result = $cell.value


?"vartype=" vartype($result)


endif


endif


endif


?"pause..." gets $k


$excel.quit()


exit


Does anyone see any mention of how to release an object in KiXtart 2K1 ? I assume it's something like releaseobject() but I see no mention of it in the manual or in the examples...

Shawn..

I keep forgetting that the COM stuff isn't done yet !

But here's the deal. I hope that Ruud will be changetyping OLE Variants into something that usefull in KiXtart. Unless he plans on implementing some new builtin variable types. example...

Floats,Numbers,Bools changetyped to integers ?
BSTRS/DATES changetyped to strings ?
SafeArrays transformed into arrays ?

As it is, I can't see anyway of using these "other" types ?

[I know, I know, it's not done yet !]

Shawn.

[This message has been edited by Shawn (edited 02 April 2001).]

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 509 anonymous users online.
Newest Members
min_seow, Audio, Hoschi, Comet, rrosell
17881 Registered Users

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