?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1. function main ()
  2.  
  3.  myobject = mappy.getValue (mappy.CUREDIT)
  4.  myobjuser1 = mappy.getBlockValue (myobject, mappy.BLKUSER1)
  5.  
  6. -- Uncomment next line to see effect
  7. -- mappy.setValue (mappy.BLOCKLABELS, "Block "..myobject.." data:;"..myobjuser1..";U2;U3;U4;U5;U6;U7;F1;F2;F3;F4;F5;F6;F7;F8;")
  8. end
  9.  
  10. test, errormsg = pcall( main )
  11. if not test then
  12.     mappy.msgBox("Error ...", errormsg, mappy.MMB_OK, mappy.MMB_ICONEXCLAMATION)
  13. end
  14.