Hi everyone.  I'm brand spankin new to assembly (more specifically HLA).  I'm going over the AoA docs and have a question that I'm hoping others can help me with.  In the declaration area, I see you can define Static and Var.  What is the difference between the two?  In the docs they seem the same so far.

Paul
Posted on 2009-03-10 22:38:11 by ptretter
Static variables are typically hardcoded into some address in your program, and in the binary executable. They already contain some known value when the program starts.

Dynamic Variables are allocated at runtime, and are not filled with any particular value at the start of the program... they usually exist 'on the stack' of some procedure, but are also often located in 'heap memory'.

These definitions are by no means complete, but should be enough to help you make the clear distinction that you are looking for.... oh, and welcome aboard!
Posted on 2009-03-11 04:46:17 by Homer
Ok, thanks Homer.

Paul
Posted on 2009-03-11 07:20:24 by ptretter
Welcome ... and don't forget : There are no stupid questions!
Posted on 2009-03-11 19:02:37 by JimmyClif