#define compileErrorsNot

using System;
using System.Data;
using System.Data.SqlTypes;

namespace Procedures
{
public class Parameters
{
	public static int PassChars(SqlString chars)
	{
		if(chars.IsNull)
		{
			return 0;
		}
		return chars.Value.TrimEnd().Length;
	}
	public static SqlInt32 ReturnNull()
	{
		return SqlInt32.Null;
	}
	public static void PassBack(SqlInt32 valueIn, ref SqlInt32 valueRef)
	{
		// pass in + out to out
		valueRef += valueIn;
	}
	public static void PassBack2(int valueIn, ref int valueRef)
	{
		// pass in + out to out
		valueRef += valueIn;
	}
	public class Nested
	{
		public static int NPassChars(SqlString chars)
		{
			return chars.Value.Lenth;
		}
	}
}

}

