validNumbers(startNumber, endNumber) - This function will return true if startNumber is less than or equal to endNumber, and false otherwise
createArray(startNumber, endNumber) - This function will create and return an array with a size that corresponds to the parameter values provided. For example, calling createArray(3, 7) returns an array with 5 elements. The array will have no values assigned to it
loadPhotos() - This function will be called when the "Load Photos" button is selected. The function will read the folder's name,common's name, start photo number, and end photo number and initialize the photosArrayGlobal array with the names of photos that belong to the specified number range. The first photo in the range will be displayed and the "Photo Being Displayed" text field will display the full name of the photo.
Comments
Leave a comment