Advertisement
Guest User

Untitled

a guest
Jun 10th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Type menuitem
  2. Field name$
  3. EndType
  4.  
  5. handle.menuitem=converttotype(a())
  6.  
  7. //--//MAIN--------------
  8. Repeat
  9.    
  10. //--//RENDER
  11.  
  12.     y=0
  13.     For handle.menuitem = Each menuitem
  14.         Text 20, 20+y*20, ">"+handle.name$
  15.         Text 20+100, 20+y*20, ">"+handle\name$
  16.         y=y+1
  17.     Next handle
  18.     DrawScreen
  19. Forever
  20. //--//-----------------
  21.  
  22. Function a()
  23.     aa.menuitem = New(menuitem)
  24.     aa.name$ = "okeeei"//_name
  25.     aa\name$ = "okeeei2"//_name
  26.     Return ConvertToInteger(aa)
  27. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement