gothic icon indicating copy to clipboard operation
gothic copied to clipboard

Cant get the value of go function?

Open aswjh opened this issue 8 years ago • 4 comments

func setn() int { return 12 } ir.RegisterCommand("go_setn", setn)

run "puts [go_setn]" in tcl, got a null value?

aswjh avatar Oct 24 '15 06:10 aswjh

https://github.com/nsf/gothic/blob/master/interpreter.go#L596-L597

It's not implemented.

Sadly I have no time to do so in any time soon. Maybe will find time to work on it sometime in the first quarter of 2016.

nsf avatar Oct 24 '15 06:10 nsf

Oh well, thanks.

aswjh avatar Oct 24 '15 06:10 aswjh

I'll keep the issue open, because it is something that is planned. Even if it won't be implemented soon.

nsf avatar Oct 26 '15 06:10 nsf

great :smiley:

aswjh avatar Oct 26 '15 08:10 aswjh