Report question

Question: Using variables as OFFSET in SELECT statments inside mysql's stored functions