Page 2 of 2 <12
Topic Options
#179341 - 2007-08-15 02:34 PM Re: Display an HTML page at login? [Re: NTDOC]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
I have some problems understanding the modified DelPrinterConnections() in JohnTodd's code.
I strip a little part from the code:
 Code:
Dim $c
$c=0
$c=$c+0.5

$c is a long with value 0 because of $c=0
0.5 (double) is implicit casted to a long with value 0
After the addition ($c=$c+0.5) $c is still a long with value 0
IMHO he should:

Top
#179342 - 2007-08-15 02:42 PM Re: Display an HTML page at login? [Re: Witto]
Björn Offline
Korg Regular
*****

Registered: 2005-12-07
Posts: 953
Loc: Stockholm, Sweden.
 Code:
Use X: "\\nasbox\users\@userid"
;should at least be
Use X: "\\nasbox\users\" + @userid
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!

Top
Page 2 of 2 <12


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

Who's Online
0 registered and 2419 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

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

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