Which means you can pretty much assume any alpha character 'J' or lower, will be a table reference. Since 'M' was beyond the limit of work areas, it would never be used as a work area to open a table, so it was always safe to use for memory variables. Most people found it easier to just reference the work areas with the letter: ![]() You had to use the alpha version of the work area. ![]() You would open tables by specifying a work area by using:īut in order to reference a field in the non-current work area, you couldn't use: Variables can be declared anywhere in code. These are declared by the Local, Private or Public keywords. ![]() To add to JRB-Bldr's post, the A-> notation stems from the old Fox days when there was a limit of 10 available work areas, or more specifically, open tables and index files. Visual FoxPro has three levels of scope for variables.
0 Comments
Leave a Reply. |