Programming for GIS
Pop Quiz #1

 

Task:

  1. Create a new function in your CLASS_ArcMap module

Source Material:

  1. Open the Web Site Http://class.icwebmap.com
  2. Click on Week 4b | 2. Sample VBA Code

Objective:

  1. Select one of the examples in the Source Material to create your function from

  2. Make the function using the coding conventions covered in class

  3. Name the function using a Noun-Verb

  4. Take out ALL un-necessary lines

  5. Pass Arguments to your function (if required) to make the function generic

  6. Make sure you have the 3 Line Comment at the top your function

  7. Call the function from ThisDocument.Test to test your function

Time Limit:

  1. 20 Minutes

Extra Credit:

  1. 10 Points each for any other function

Turn In:

  1. Copy the source code (and comment lines) to NotePad, Add your name,  Print