Page 1 of 1 1
Topic Options
#24025 - 2002-06-28 03:17 AM starters guide Hello World failed
chase Offline
Fresh Scripter

Registered: 2002-06-28
Posts: 22
My Hello World test failed:
0script error : Unknown command !
I'm a beginner. I am on Win 98. I created the file ok but then I got the error.

Top
#24026 - 2002-06-28 03:18 AM Re: starters guide Hello World failed
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Please post your file.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#24027 - 2002-06-28 03:21 AM Re: starters guide Hello World failed
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Post the line you use to run the script.

BTW, welcome to the board.

[ 28 June 2002, 03:22: Message edited by: LLigetfa ]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#24028 - 2002-06-28 03:26 AM Re: starters guide Hello World failed
chase Offline
Fresh Scripter

Registered: 2002-06-28
Posts: 22
--------start Hello.kix-------
Hello World
-------- end Hello.kix-------

I then run kix32 hello in same directory.

C:\KiX2001.402>kix32 hello
0Script error : unknown command !
--------start Hello.kix-------

Top
#24029 - 2002-06-28 03:30 AM Re: starters guide Hello World failed
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
You need to use quotes for the string.
The ? question mark creates a new line

code:
"hello world"


Top
#24030 - 2002-06-28 03:32 AM Re: starters guide Hello World failed
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well... neither of the two words are KiX commands so the error is expected. If you were to wrap them in quotes, that would work. Also, comment lines need the semi-colon.

;--------start Hello.kix-------
"Hello World"
;-------- end Hello.kix-------
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#24031 - 2002-06-28 03:50 AM Re: starters guide Hello World failed
chase Offline
Fresh Scripter

Registered: 2002-06-28
Posts: 22
My first KiX script worked! Thanks to everyone.
And yes I needed the ; and the ".
Many thanks...

Top
#24032 - 2002-06-29 01:15 PM Re: starters guide Hello World failed
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Also welcome to the board.

See interesting stuff see also FAQ forum.
Interesting tools like kixref, kixstrip and kixcrypt you can find on our site.
greetings.

btw: symbol on our homepage has been linked to related http://kixtart.org topic.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


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

Who's Online
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.055 seconds in which 0.022 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