hoc_ac_ · hoc_cross_x_ · hoc_cross_y_ · hoc_obj_

Predeclared Variables

hoc_ac_

A variable used by the graphical interface to communicate with the interpreter. It is very volatile. It sometimes holds a value on a function call. If this value is needed by the user it should be copied to another variable prior to any other function call.


hoc_obj_
Syntax:

hoc_obj_[0]

hoc_obj_[1]

Description:
When a line on a Graph is picked with the PickVector tool two new Vector's are created containing the y and x coordinates of the line. The y vector is referenced by hoc_obj_[0] and the x vector is referenced by hoc_obj_[1].

hoc_cross_x_
Syntax:
hoc_cross_x_
Description:
X coordinate value of the last Crosshair manipulation.

See also

Crosshair


hoc_cross_y_
Description:
Y coordinate value of the last Crosshair manipulation.

See also

Crosshair