This is the documentation for the Questor API demo function ref_demo.

The function returns true if the row and the column of the passed reference are even. 

The function shows how to pass references to external functions. Normally when a reference is passed as an argument to an function, the Questor runtime fetches the value of the references cell and passes this value to the function. To override this behaviour, an external function should return XQ_DONT_EVAL when asked to provide the argument type (- (int)argType:(int)argIndex).

Arguments:
	ref, a cell reference
Returns: 
	true/false	
Comments:
	Implemented in Objective-C.

All functions in a .xqro function library can have an associated RTF and a sound file to describe the function. The contents of these files will be accessible from the function inspector in Questor.

Both files are optional.

The files should be named as the function plus the correct file extension. 

Example: the function foo(x,y) can have the corresponding files foo.rtf and foo.snd.