Assign()

Select a run for input by giving the ISIS run number

ASSIGN p1=Integer Selects the default run for input with the S() command.

example:

	# Select run 2004 and read in a spectrum
	>> Assign 2004
	>> w=s(2)		# 2nd Spectrum

Note: Assign nnn is equivalent to Set/File/Input Cfn(nnn)

Assign

The assign command is designed to allow a shorthand of specifying the ISIS run number to select the input file to read from. Essentially it concatenates the defaults for disk, directory, instrument and extension and then makes the resultant file the default file. It is based on the Cfn() command.

Parameters:

P1 (Integer)

An existing ISIS run number. Before this can make sense, the disk, directory, instrument and extension defaults must have been set up with the appropriate Set() commands.