Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Statscraft 0.61.0, release v0.61.0

Macros, files and session

命令功能 {#what-it-does}
DEFINEDefine a macro: a name that stands for syntax, with arguments.
INSERTRun the commands of another syntax file in place of this command.
INCLUDERun the commands of another syntax file, read by the batch rules.
BEGIN PROGRAMA block of code in another programming language; it is skipped with a warning.
SETChange settings of the session.
SHOWShow the current settings.
PRESERVEStore the current settings and folder, to bring them back with RESTORE.
RESTOREBring back the settings and folder the last PRESERVE stored.
CACHEAccepted and has nothing to do: the data are always kept in memory.
CDChange the folder relative file names start from.
PROCEDURE OUTPUTName the file the next procedures write their results to.
FILE HANDLEGive a file or a folder a short name to use in place of its path.
DATASET NAMEGive the active dataset a name, so that it stays open when another one becomes active.
DATASET ACTIVATEMake a named dataset the active one.
DATASET COPYCopy the active dataset, as it is now, into a named dataset.
DATASET DECLAREReserve a dataset name for a dataset that a later command creates.
DATASET CLOSEClose a named dataset, or take the name off the active one.
DATASET DISPLAYList the open datasets.
USESet the historical period of the time series procedures, or use all cases.
DISPLAYShow dictionary information of the active dataset.
LISTList the values of cases.
TITLEPut a title in the output, above the output that follows.
SUBTITLEPut a subtitle in the output, above the output that follows.
ECHOShow a text in the output.
ERASEDelete a file.
PERMISSIONSMake a file read-only, or writeable for its owner.
HOSTRefused: Statscraft never runs operating system commands from syntax.
OUTPUT NEWStart a new output document, which gets the tables from now on.
OUTPUT NAMEName the output document that gets the tables.
OUTPUT ACTIVATESend the tables from now on to an open output document.
OUTPUT CLOSEClose an output document, or all of them.
OUTPUT DISPLAYList the open output documents.
OUTPUT EXPORTWrite the tables and charts of an output document to a workbook, document, presentation, PDF, web page, text or CSV file.
OUTPUT SAVESave an output document as a Statscraft output file (.scout).
OUTPUT OPENOpen a Statscraft output file (.scout) as a new output document.
OUTPUT MODIFYDelete, hide, rename, sort, transpose or reformat items of an output document.
OMSSend the tables, charts and warnings of the commands that follow to a file, or keep them out of the results.
OMSENDEnd OMS requests and the OMS log.
OMSINFOList the OMS requests in force.
OMSLOGKeep a log of when OMS requests start and end and which files they write.
BEGIN CHARTA Statscraft extension: a chart given as JSON goes to the output like a procedure’s chart.
FINISHEnd the job: the commands after it are not read.

All commands