[Ipe-discuss] "loadstring" in ipelets

Jan Hlavacek jhlavace at svsu.edu
Sat Oct 24 23:05:20 CEST 2009


On Sat, Oct 24, 2009 at 09:22:43PM +0200, Otfried Cheong wrote:
> From the documentation:
>
> The "global" environment of the ipelet is a private environment for this
> ipelet only, so there is no need to fear polluting the global namespace
> - you can use names here freely. The commonly used names have been
> imported from Ipe's global namespace already, and you can access any
> others you may need through _G.
>
> So what you need to do is to simply put:
>
> loadstring = _G.loadstring

Thank you, that is exactly what I was looking for.  I guess I need to read
documentation more carefully :)

Ipe is getting better and better!

-- 
Jan Hlavacek (jhlavace at svsu.edu, (989) 964-2004)
Department of Mathematical Sciences, Saginaw Valley State University
http://www.svsu.edu/~jhlavace/



More information about the Ipe-discuss mailing list