New Learning VFP video
I’m finally back into the swing of things, and have produced a new video for the Learning Visual FoxPro series. In this video I explore SCOPE as it exists in Visual FoxPro for variables, arrays, parameters, constants, procedures, and object members. I also discuss certain Visual FoxPro commands that are scoped to the current datasession. This video is 102, so it is in the beginners series, however I have tried to be thorough enough in my examination of scope in Visual FoxPro that intermediates may also come away with something of value.


Upcoming Videos
Before I post the links to this new 3 part video, I thought I would take a moment and share with you a list of things that I am considering doing videos on in the near future. So, here they are in no particular order:



  • Error Handling (On Error and Try…Catch…Finally)
  • Modal vs Modeless
  • Reports
  • Database creation
  • SQL
  • Views (Remote, local, Createoffline()/Use Online, etc.)
  • Transactions (MAKETRANSACTABLE included)
  • XML
  • HTML
  • Web Services
  • Debugging
  • Coverage Profiler
  • CONFIG.FPW
  • String Parsing
  • Indexes (including how to effectively reindex)
  • SET Commands
  • Project Hooks
  • Using Windows APIs
  • Intellisense
  • Different Controls (grid,listbox, combobox, etc.)
  • Foundation classes (xmladapter, cursoradapter, reportlistener, etc.)
  • Drag and Drop
  • BITwise functions (bitset, bitclear, bitand, etc.)
  • Bindevent
  • Compiler Directives

Feedback and ideas are important
If there are items in the list above that you would like to see done first, or if you have an idea for some Visual FoxPro subject matter that should be convered that is not in the list, please let me know. I welcome any and all feedback regarding the videos that I do as well as the proposed videos to be done in the near future. I want to make sure that the subjects that the Visual FoxPro Community would like to see covered are the ones I do first.


Learning Visual FoxPro 102: Scope

For Online Viewing:
Part I (14:15)
Part II (17:57)
Part III (15:43)


For Offline Viewing:
Download Part1 SWF File
 (6.5 MB approx.)
Download Part2 SWF File (11.5 MB approx.)
Download Part3 SWF File (11 MB approx.)


Source Code used in the video:
Download 102 Source Code (5 KB approx.)

If you have any problems understanding any of the concepts presented in this video, be sure to try out the source code that accompanies this video. While a screencast works pretty good for imparting information, nothing can beat trying a few things on your own and stepping through some code when trying to understand scope in Visual FoxPro. The procedural files for this video should make it easier for you to explore all the different aspects to this.

For those of you that haven’t ever used the FoxPro Frame debugger as I did in the video, it is available as a debug setting. Go to the Tools menu, click on Options, and then look in the Debug page (tab). You should see a dropdown box on that page that allows you to select it.