code: def DoEraseLine(fsm):
      arg = int(fsm.memory.pop())
      screen = fsm.memory[0]
      if arg == 0:
          screen.erase_end_of_line()
      elif arg == 1:
          screen.erase_start_of_line()
      elif arg == 2:
          screen.erase_line()
  
imports: from .None import screen
  from .None import FSM
  import string
label_desc: Use image node_id 18 for calling a global function with example usage: DoEraseLine(fsm) without return types