VFP中的变量又称为内存变量,是内存中存储一个数据的位置名称,在这个存储位置中存放的数据在操作期间通过这个名称来读和写。 内存变量是表结构之外独立存在于内存中的变量。内存变量可用来存储数据,定义内存变量时需为它取名并赋初值,内存变量建立后存储于内存中。
在上面的内存变量声明中可以看到几点差异。
You can see several differences above in the declaration of memory variables.
如果这个值被保留不变,很明显从表中看到,它将被写入内存变量Y而不是Z中,而程序本来要使用Z。
If this value were left at that, it is clear from the table that it would be writing into the storage for variable Y rather than for Z, which is what the program called for.
这些嵌套标签不是输出到文件中,而是输出到内存中的临时变量中。
Instead of going to a file, these nested tags go to a temporary variable in memory.
I've got some internal variables I have to store, what kinds of things do I have to keep track of?
计算的时候需要占用多少内存,我需要存储一些内部变量,我需要记录哪些东西呢?
It turns out that slightly before the stack, slightly before this conceptual chunk of memory, there's other things called environment variables that we may see over time but elsewhere in memory are other things.
结果是稍微在堆之前,稍微在这个内存块概念之前,另外还一个东西叫做环境变量,我们之后可能看到,内存中的其他地方,是其他的东西。
Well, because the memory we've been using for local variables, and for functions, storage space is what computer scientists generally call the stack.
好的,因为我们看到的内存是用于局部变量的,用于函数的,存储空间就是计算机科学家,通常说的堆。
应用推荐