NEWTON

NEWTON


Popular tags

    What does ret do in Cairo?

    Asked

    6 months ago

    11

    views


    0

    What is the difference between return and ret?

    This question was originally posted on Triality

      cairocairo-lang

    1 answers

    0

    Function writes to the stack their return values just before the "ret" instruction. After ret() is executed and the function completes, return values will be available to the caller at [ap - 1], [ap - 2] and so on.

    Using the keyword return(), you must return a tuple inside your return statement.

    This answer was originally posted on Triality

    answered

    7 months ago

    Your answer

    NEWTON

    NEWTON