Announcement

Collapse
No announcement yet.

Stack and heap pointer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stack and heap pointer

    Hi there,

    Could somebody tell me please how to read the stack and heap pointers on Picaso?
    I can't find anything in the Picaso datasheet, 4DGL internal functions or in the 4DGL-Programmers-Reference-Manual-REV5.1 pdfs.

    Many thanks.

    Bill

  • #2


    Umm, why are you trying to read them, for what purpose?
    Mark

    Comment


    • #3


      To determine memory usage.

      Comment


      • #4


        All you need for that ie mem_Heap()
        Mark

        Comment


        • #5


          Thanks for that!
          I guess, this will give me the free heap between the allocated stack and heap-used.

          But how do i follow stack usage?
          Thanks.

          Bill

          Comment


          • #6


            There's EVE_SP() and EVE_SSIZE().
            Mark

            Comment


            • #7


              Thanks a million!

              Comment

              Working...
              X