Page 1 of 1 1
Topic Options
#165034 - 2006-07-25 06:14 PM educate me please / why this simple script doesn't work
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
could anyone of you guys tell me, what's wrong in the expression of this script?
Code:

$=else(), else()

function else()
$else = 1
endfunction

get $



and yes, I know it's the line 1, but what's wrong with it?
_________________________
!

download KiXnet

Top
#165035 - 2006-07-25 06:41 PM Re: educate me please / why this simple script doesn't work
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
You can't use 'reserved' words for function names.
Top
#165036 - 2006-07-25 06:43 PM Re: educate me please / why this simple script doesn't work
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
damn damn damn.

you right.

Top
#165037 - 2006-07-25 11:10 PM Re: educate me please / why this simple script doesn't work
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Was reading this and thought you were joking with us there Jooel.
Top
#165038 - 2006-07-25 11:32 PM Re: educate me please / why this simple script doesn't work
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
hehehe, I kinda thought it was a trick question too
Top
Page 1 of 1 1


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

Who's Online
0 registered and 1452 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.058 seconds in which 0.026 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