#206261 - 2012-11-26 10:17 AM
Re: KiXnet first public release
[Re: Arend_]
|
Allen
KiX Supporter
Registered: 2003-04-19
Posts: 4545
Loc: USA
|
Awesome work Lonk. My deepest apologies for not helping. My intentions were good, but so was business. Unfortunately that didn't leave much time for anything else. I'm looking forward to trying this out.
|
Top
|
|
|
|
#206268 - 2012-11-26 05:29 PM
Re: KiXnet first public release
[Re: Lonkero]
|
ShaneEP
MM club member
Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
|
The included test.kix file seems to bomb out at the following section....I thought maybe because the C:\users folder didnt exist, but changed it to c:\windows and still nothing.
"kixtart has dir. kixnet also has getfiles:"
for each $file in getfiles("c:\windows",0) ; non-recursive option
? $file
next This is on a Windows XP SP3 machine. It has up to .Net 4.0 installed.
|
Top
|
|
|
|
#206271 - 2012-11-26 05:48 PM
Re: KiXnet first public release
[Re: Lonkero]
|
ShaneEP
MM club member
Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
|
I think there may be a array handling problem somewhere that it causing it to crash on all the For Each loops. It seems to not be the call of the function that is killing it, but rather the attempted enumeration of the results.
If I run this code...It shows just 1234, and not the zero.
$testarr = "0","1","2","3","4"
for each $num in $testarr
? $num
next CORRECTION: It's not seeing the list as an array. It's just assigning the first value "0" to $testarray, and then displaying the rest to the console. The For Each just bombs without displaying anything.
Edited by ShaneEP (2012-11-26 06:06 PM)
|
Top
|
|
|
|
#206296 - 2012-11-28 04:23 AM
Re: KiXnet first public release
[Re: Lonkero]
|
ShaneEP
MM club member
Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
|
.ToInt32()
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 507 anonymous users online.
|
|
|