¿ªÔÆÌåÓý

Error trying to set up parameters


 

Ok, trying to set up a parameter to be selected from a list provided and then I click on the Gear icon, I get an error

-------------------------------------------
See the end of this message for details on invoking?
just-in-time (JIT) debugging instead of this dialog box.
?
**** Exception Text ****
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
? ?at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
? ?at ?????????????????????????????????????????.?????????????????????????????????????????(Int32 )
? ?at 9H"t70^\*06\\:\]A"CVx\\JA~`Q.?????????????????????????????????????????(????????????????????????????????????????? )
? ?at 9H"t70^\*06\\:\]A"CVx\\JA~`Q..ctor(List`1 p_paramList)
? ?at \[n2E!(pkt=\.(A?Ydh>%02R7K#.?????????????????????????????????????????(Object , EventArgs )
? ?at System.Windows.Forms.Control.OnClick(EventArgs e)
? ?at System.Windows.Forms.Button.OnClick(EventArgs e)
? ?at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
? ?at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
? ?at System.Windows.Forms.Control.WndProc(Message& m)
? ?at System.Windows.Forms.ButtonBase.WndProc(Message& m)
? ?at System.Windows.Forms.Button.WndProc(Message& m)
? ?at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
?
?
**** Loaded Assemblies ****
mscorlib
? ? Assembly Version: 4.0.0.0
? ? Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
? ? CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
TableSmith
? ? Assembly Version: 5.2.0.0
? ? Win32 Version: 5.2.0.0
? ? CodeBase: file:///C:/Program%20Files%20(x86)/TableSmith52/TableSmith.exe
----------------------------------------
EIaXTlUKkMzDOqstIaHRPCmJsCYL
? ? Assembly Version: 0.0.0.0
? ? Win32 Version: 5.2.0.0
? ? CodeBase: file:///C:/Program%20Files%20(x86)/TableSmith52/TableSmith.exe
----------------------------------------
System.Windows.Forms
? ? Assembly Version: 4.0.0.0
? ? Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
? ? CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
? ? Assembly Version: 4.0.0.0
? ? Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
? ? CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
? ? Assembly Version: 4.0.0.0
? ? Win32 Version: 4.8.3752.0 built by: NET48REL1
? ? CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
? ? Assembly Version: 4.0.0.0
? ? Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
? ? CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
? ? Assembly Version: 4.0.0.0
? ? Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
? ? CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
? ? Assembly Version: 4.0.0.0
? ? Win32 Version: 4.8.3752.0 built by: NET48REL1
? ? CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
? ? Assembly Version: 1.0.0.0
? ? Win32 Version: 4.8.3752.0 built by: NET48REL1
? ? CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.mshtml
? ? Assembly Version: 7.0.3300.0
? ? Win32 Version: 7.0.3300.0
? ? CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
?
**** JIT Debugging ****
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
?
For example:
?
<configuration>
? ? <system.windows.forms jitDebugging="true" />
</configuration>
?
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
?
-------------------------------------------

The code in my file is this

----------------------
%month%,0
?
@month,0,Select Month,0,Select Month: Haomi,Daomi,Atrimi,Ceathmi,Cuigmi,Asemi,Sechtmi,Hochmi,Anaomi,Adeimi,Hademi,Dodhemi
?
:Start
1,{If~%month%=0?[Instructions] / %month%}
?
:Instructions
1,Click on the gear above the Table List and?
_ select the month for which you want to?
_ generate the weather.
----------------------

Can somebodiy tell me what I did wrong please?


 

Doh!

in the line starting with @, your default selection cannot include a number that is less than the range (1-12 in this case).