Shop OBEX P1 Docs P2 Docs Learn Events
defining a structure? — Parallax Forums

defining a structure?

Marz KrishnaMarz Krishna Posts: 26
edited 2009-08-06 15:14 in BASIC Stamp
is there anyway way to define a structure ( typedef struct {int x, int y}vector; )? also is there anyway to deallocate memory for a variable (free vector[noparse];)[/noparse]?

Post Edited By Moderator (Joshua Donelson (Parallax)) : 8/6/2009 11:29:40 PM GMT

Comments

  • SRLMSRLM Posts: 5,045
    edited 2009-08-06 15:14
    No and No.

    The closest thing to a structure available is an array. As an alternative to freeing memory, you can look at aliases.
Sign In or Register to comment.