top_ptop

Document:top_ptop()

Restituisce il documento attivo.

Esempio 1. Esempio top_ptop

local top = top_ptop()
if top then
  print("\ntop_ptop: OK - nome = " .. (top:getName() or "nil"))
else
  print("\ntop_ptop = nil (disegno senza struttura TOP)")
end