Hi,

 

  No, the global attributes in Lua can only be accessed by the functions 
iup.GetGlobal, iup.StoreGlobal and iup.SetGlobal.

 

Best Regards,

Antonio Scuri

 

From: uten navn [mailto:[email protected]] 
Sent: segunda-feira, 30 de abril de 2012 16:26
To: [email protected]
Subject: [Iup-users] Confirm usage of global attributes

 

Hello,

I think I should be able to access iup global attributes ( 
http://www.tecgraf.puc-rio.br/iup/en/attrib/iup_globals.html#Information ) like 
this (from lua/iuplua):

    require ('iuplua')
    print(iup.SYSTEM) -->Linux
    print(iup['SYSTEM']) -->Linux

But I only get nil. So I have either misunderstood something, or I have screwed 
up when I compiled IUP. I general I'm able to use all the controls I have tried 
out.

Is this the right way to access iup globals?

Best regards
Uten 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to