Page 1 of 1 1
Topic Options
#9759 - 2001-06-20 11:47 PM Kixstart
Anonymous
Unregistered


I have numbers appearing in my script ( I believe it is being caused by the statements that delete any static mappings , is there a way to hide it ?

------------------
SK

Top
#9760 - 2001-06-20 11:50 PM Re: Kixstart
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
The numbers are the result codes from functions etc. Try adding a dummy variable such as $RC to the offending line.

i.e.
$RC = MessageBox("PTF upgrade complete." + Chr(13) + "Computer will now REBOOT!","ShowCase PTF upgrade",16,60)

------------------
Laziness is the mother of invention.

Les Ligetfalvy

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#9761 - 2001-06-21 03:58 PM Re: Kixstart
Anonymous
Unregistered


THANKS THAT WORKED !!!!
Top
#9762 - 2001-06-21 04:49 PM Re: Kixstart
Anonymous
Unregistered


That worked , but why ??

------------------
SK

Top
#9763 - 2001-06-21 07:39 PM Re: Kixstart
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
When you run a "Function" in KiX (see list) a value is returned. This differs from a Command (see list) where nothing is return. Functions are usually used to process information, whereas commands are used to do a task that the outcome is known.

For example, you don't know what the character for ASCII code 65 is so you run the CHR() function like this CHR(65). When you do this, it returns A. If you want to do something like CLear the Screen, you do a CLS command. There is no information that you need to get from CLS, so it is a command.

Here is a list of all the KiX Functions for KiXtart 3.63
ADDKEY
ADDPRINTERCONNECTION
ADDPROGRAMGROUP
ADDPROGRAMITEM
ASC
AT
CHR
CLOSE
COMPAREFILETIMES
DECTOHEX
DELKEY
DELPRINTERCONNECTION
DELPROGRAMGROUP
DELPROGRAMITEM
DELTREE
DELVALUE
DIR
ENUMGROUP
ENUMKEY
ENUMLOCALGROUP
ENUMVALUE
EXECUTE
EXIST
EXISTKEY
GETDISKSPACE
GETFILEATTR
GETFILESIZE
GETFILETIME
GETFILEVERSION
INGROUP
INSTR
LCASE
LEN
LOADHIVE
LOADKEY
LOGEVENT
LOGOFF
LTRIM
MESSAGEBOX
OLECALLFUNC
OLECALLPROC
OLECREATEOBJECT
OLEGETOBJECT
OLEGETPROPERTY
OLEGETSUBOBJECT
OLEPUTPROPERTY
OLERELEASEOBJECT
OPEN
READLINE
READPROFILESTRING
READTYPE
READVALUE
REDIRECTOUTPUT
RND
RTRIM
SAVEKEY
SENDKEYS
SENDMESSAGE
SETCONSOLE
SETDEFAULTPRINTER
SETFILEATTR
SETFOCUS
SETWALLPAPER
SHOWPROGRAMGROUP
SHUTDOWN
SRND
SUBSTR
UCASE
UNLOADHIVE
VAL
WRITELINE
WRITEPROFILESTRING
WRITEVALUE

KiXtart Commands
BEEP
BIG
BOX
CALL
CASE
CD
CLS
COLOR
COOKIE1
COPY
DEL
DIM
DISPLAY
DO
ELSE
ENDIF
ENDSELECT
FLUSHKB
GET
GETS
GLOBAL
GO
GOSUB
GOTO
IF
LOOP
MD
PASSWORD
PLAY
RD
RETURN
RUN
SELECT ...
SET
SETL
SETM
SETTIME
SHELL
SLEEP
SMALL
UNTIL
USE
WHILE

RTFM to see what they do.

cj

------------------
cj's scripts page
cj's User Guide - 14 May 2001

chrismat@ozemail.com.au

Top
#9764 - 2001-06-21 09:27 PM Re: Kixstart
Anonymous
Unregistered


Thanks for your help
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
0 registered and 735 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.126 seconds in which 0.075 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