Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'n' is not declared.

Source Error:

Line 10:     Public Shared Function genPROBLEMstring(ByVal llimit As Integer, ByVal ulimit As Integer, ByVal numproblems As Integer) As String
Line 11:         Dim prstring As String = ""
Line 12:         For n = 1 To numproblems
Line 13:             Dim Rletter As String = genRANDOMCHAR(llimit, ulimit)
Line 14:             prstring &= "P" & n & "-" & Rletter & ","

Source File: D:\Hosting\4422906\html\App_Code\SL_utilities.vb    Line: 12

Version Information: Microsoft .NET Framework Version:2.0.50727.4253; ASP.NET Version:2.0.50727.4252