define expr global variables ?
Can we set some variables into env and use them in custom functions?
You can do it via method. Define custom func on env struct and access var from env.
You can do it via method. Define custom func on env struct and access var from env.
Thanks to reply. I mean if we use a custom func to set some variables, can we use them in another custom func?
You can do it via method. Define custom func on env struct and access var from env.
I have known we could use env in script, I didn't notice any api of package to support custom function use env, may be a reference...
I'm working on variables)
Duplicate of #101