Page 1 of 1 1
Topic Options
#77447 - 2001-04-03 02:30 PM BUG - OLE assigned variables embedded in strings
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
OLE assigned string variables referenced (embedded) inside KiX strings are truncated after the first character.

code:

break on

$user = getobject("WinNT://@ldomain/@userid")

if $user

$user.getinfo()

?"user=" $user.name
?"description=" $user.description
?

; Display ADSI class in various different ways...

?"class=" $user.class ; <--- this works

$class = $user.class ; <--- assign to KiXtart string

?"class=" + $class ; <--- this works
?"class=$class" ; <--- this does not work !!!

endif

exit


Shawn.

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

Top
#77448 - 2001-04-03 04:39 PM Re: BUG - OLE assigned variables embedded in strings
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
I know that this is a behavior that Ruud wanted to remove from kix...

maby he is trying to tell us something

Bryce

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

Top
#77449 - 2001-04-03 04:59 PM Re: BUG - OLE assigned variables embedded in strings
Shawn Administrator Offline
Administrator
*****

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

I had the same thought !

Shawn.

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
0 registered and 1447 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

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