You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any time I try to get information from tcl/tk I do an Eval like this:
`
i := ir.Eval("[winfo screenheight .]")
fmt.Println(i)
`
and it produces a response like this: invalid command name "1080"
Obviously tcl is trying to execute the result of the winfo call. Same thing happens with different functions and it doesn't matter if I put the results into a tcl variable first and then read the variable.
I can always strip the "invalid command name" and the quotes and have the result I need but that doesn't seem like the 'A' plan. Anybody know what I'm doing wrong?
Btw, I really am enjoying this library. Gothic and Golang templates go well together.
The text was updated successfully, but these errors were encountered:
Any time I try to get information from tcl/tk I do an Eval like this:
`
i := ir.Eval("[winfo screenheight .]")
fmt.Println(i)
`
and it produces a response like this:
invalid command name "1080"
Obviously tcl is trying to execute the result of the winfo call. Same thing happens with different functions and it doesn't matter if I put the results into a tcl variable first and then read the variable.
I can always strip the "invalid command name" and the quotes and have the result I need but that doesn't seem like the 'A' plan. Anybody know what I'm doing wrong?
Btw, I really am enjoying this library. Gothic and Golang templates go well together.
The text was updated successfully, but these errors were encountered: