Skip to content

Latest commit

 

History

History
executable file
·
77 lines (37 loc) · 1.25 KB

predec.rst

File metadata and controls

executable file
·
77 lines (37 loc) · 1.25 KB

Predeclared Variables

hoc_ac

Syntax:

h.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:

h.hoc_obj_[0]

h.hoc_obj_[1]

Description:

When a line on a Graph is picked with the gui_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:

h.hoc_cross_x_

Description:

X coordinate value of the last graph_crosshair manipulation.

graph_crosshair


hoc_cross_y

Syntax:

h.hoc_cross_y_

Description:

Y coordinate value of the last graph_crosshair manipulation.

graph_crosshair