Announcement

Collapse
No announcement yet.

Mem Copy, and clear in VISI

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

  • Mem Copy, and clear in VISI

    Hi,

    I have create two arrays with the same amount.

    1) board := mem_AllocV(width*height); //allocate the memmory
    2) old_board := mem_AllocV(width*height); //allocate the memmory

    Is it posible to copy simple board to old_bord?
    Is it posible to clear for example board on a simple way?

    Cheers,

    Jan

  • #2
    mem_Copy() and mem_Set() can do that
    Mark

    Comment


    • #3
      Thanks for it, where can I find the documentation about these two commands?
      For mem_Set is it possible to do the clear without a loop? (Set compleet variable board at once to zero)

      Cheers,

      Jan

      Comment


      • #4
        It's in the Picaso Internal Functions reference.

        I'm confused, wouldn't you have already looked there?

        type mem_Set in workshop, move the cursor over this and press F1

        The example shows how to do a clear without a loop
        Mark

        Comment

        Working...
        X