Hi,

  You can't call a module function before loading the module. This stands
for any Lua module.

  In the iuplua executable, the iup module is already loaded.

Best,
Scuri


Em 19/06/2017 04:54, "John Huttley" <[email protected]> escreveu:

> Hi Team,
> The answer is dumb but interesting
>
>
> Original not working code
>
> iup.SetGlobal("UTF8MODE","YES")
> require( "iuplua" )
> require( "iupluacontrols" )
>
>
>
> And Fixed code
>
> require( "iuplua" )
> require( "iupluacontrols" )
> iup.SetGlobal("UTF8MODE","YES")
>
>
> Something about how the iuplua application handles its environment
> allows it to work.
>
> Regards,
> Dad
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to