у меня при компиляции пишет
openscreen or openwindowedscreen must be called before using sprite command

---------- Post added at 16:16 ---------- Previous post was at 16:12 ----------

newart, а чем плох gosub и что вместо него?