kinetic

Description Properties Methods Constants Examples See also






Description


The kinetic object is transparent for the user, and handles the script(let) itself. The kinetic object provides several properties and methods, and declares some constants:



Properties


c = processorcount;



p = processor(i);


This function returns the bit-coded processor identifier of the i-th processor (from 0 to processorcount - 1).

p = allprocessors;


This function returns the bit-coded processor identifier for all available processors.

p = currprocess;



p = currthread;



p = processpriority;
processpriority = p;




p = threadpriority;
threadpriority = p;




a = processaffinity;
processaffinity = a;




a = threadaffinity;
threadaffinity = a;




s = dontsynchthread;
dontsynchthread = s;




r = dontreset;
dontreset = r;




i = ignoreerror;
ignoreerror = i;




e = errorcode;



e = errormsg;



a = argument(i);
argument(i) = a;




c = argumentcount(i);



r = scriptiscompiling(scriptname, libname);


Without argument, this function refers to the main script; otherwise, to a scriptlet.

r = scriptiscompiled(scriptname, libname);


Without argument, this function refers to the main script; otherwise, to a scriptlet.

r = scriptisrunning(scriptname, libname);


Without argument, this function refers to the main script; otherwise, to a scriptlet.

r = scriptispaused(scriptname, libname);


Without argument, this function refers to the main script; otherwise, to a scriptlet.

r = scriptisbreaked(scriptname, libname);


Without argument, this function refers to the main script; otherwise, to a scriptlet.

r = scriptisstopped(scriptname, libname);


Without argument, this function refers to the main script; otherwise, to a scriptlet.

r = scriptisfunction(scriptname, libname);





Methods


wait(time = t, until = u, step = s);



randomize;



[r = ]compilescript(scriptname, libname);



[r = ]runscript(scriptname = n, libname = l, dontwait = w, dontsynch = s, waitavail = w, dontreset = r, affinity = a, priority = p, arg0 = a0, arg1 = a1, ..., arg99 = a99);



pausescript(scriptname = n, libname = l);


Without argument, this function refers to the main script; otherwise, to a scriptlet.

breakscript(scriptname = n, libname = l);


Without argument, this function refers to the main script; otherwise, to a scriptlet.

stopscript(scriptname = n, libname = l);


Without argument, this function refers to the main script; otherwise, to a scriptlet.

lockscript(scriptname = n, libname = l, lockmode = m, lockvalue = v);





Constants




Examples




See also





(C) 2008-2010 Lorin Milescu. Last modified: 08-28-2010