Page 2 of 2 <12
Topic Options
#19038 - 2002-03-25 03:25 PM Re: getfileattrib
Anonymous
Unregistered


Hey,
Thanks guys. I don't know what threw me off with the "tt"s. Just one of those things I guess. Hey, I can't find a gallon of milk in the frig. How am I supposed to see that second "t". I'm far too advanced for that. Ha ha ha!

Thanks again,
Wakefreak

Top
#19039 - 2002-03-25 03:55 PM Re: getfileattrib
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
LLigetfa:

I'm very happy with both my wife and Kixtart. I have no intention in giving away either of them.

I just need a spell-checker to find those typos like the double 't'. Even after reading the script a couple of times, I just didn't see the double 't'.
_________________________
There are two types of vessels, submarines and targets.

Top
#19040 - 2002-03-25 04:04 PM Re: getfileattrib
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sealeopard,
Why didn't you ask your wife to check it? she would have seen it...
_________________________
!

download KiXnet

Top
#19041 - 2002-03-26 12:46 AM Re: getfileattrib
kholm Offline
Korg Regular
*****

Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
Just an info to round this up.

Wakefreak stated, that if he misspelled a functionname it would result in a syntax error.

That is not correct. If the (Bad) functionname is inbedded in an if-statement, the functionname is translated to not-empty=true by the if-statement

Try running this code:
code:
if BadFuncName("c:\winnt\system")
endif
?
if BadFuncName("c:\winnt\system") & 16
endif
?
if BadFuncName(16 + "c:\winnt\system") & 16
endif
get $x

If you are using build 81 of KiXtart

This code wil produce these lines:
c:\winnt\system
0
16

To my knowledge build 81 is stil beta, i use it on my own ws, i wouldn't dream of implementing it on the net before Ruud says go.

Anyway, i beleive it is in the nature of KiX 4?? that an if-statement will disguise a misspelled functionname (evaluate it as true)

-Erik

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 483 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

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

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