novato en C#

07/03/2013 - 16:29 por alhonso | Informe spam
¡ Hola ! que tal estoy progamando en C# por primera vez y me encuentro con el siguiente error en la operacion Rmax1 = Rmax + 1 que puedo hacer???
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace Sweet
{
public class Class1
{
public int add(short hab, short TD1HdlRrd, short[] Interp,
short[] fpb, short[] fpa, short[] fint, short[] m, short TD1HdlBpb, short TD1HdlApb, short TD1HdlBpaL, short TD1HdlApaL, short TD1HdlBpaR, short TD1HdlApaR, short TD1HdlBpint,
short TD1HdlApint, short[] fmf, short Rmax, short select, short TD1HdlAD1, short TD1HdlAD2, short TD1HdlAD3, short j, short chan, short f, short beam, short n, short h, short can1, short can2, short can3, short q, short g, short
v1, short v2, short fx0, short fx1, short fx2, short fx3, short fx4, short ptt, short delay, short Rmax1, short k,
short v1f0, short v1f1, short v1f2, short v1f3, short v1f4, short v2f0, short v2f1, short v2f2, short v2f3, short v2f4,
short fpb0, short fpb1, short fpb2, short fpb3, short fpb4, short fpb5, short rango, short rango2, short hh, short punt1, short punt2, short punt3, short pj, short ch, short fnp, short iaudio, short icorr, double[] Bfmf, double[] Afmf, double TD3Hdlsh, double TD3Hdlcc, double
TD4Hdlrc, double TD2HdlErd, double[] lm, double[] Bpbc, double[] Apbc, double[] Bpac, double[] Apac, double[] Bpintc,
double[] Apintc, double[] Bmf, double[] Amf, double TD1HdlCHcorr, double TD1HdlAudioBeam,
double[] Audio, double aD, double bD, double cD1, double aI, double bI, double cI, double shading, int Decn, int Decncorr)
{
int[] Xaudio = new int[85];
const int NMUESTRAS = 720;
{
if (hab != null)
j = 0; k = 0; Rmax1 = Rmax + 1;
iaudio = 0; icorr = 0; Decncorr = 0;
for (n = 0; n < NMUESTRAS; n++)//procesa los NMUESTRAS datos de audio de entrada
{


}
}

}

}
}
No se puede convertir implícitamente el tipo 'int' en 'short'. Ya existe una conversión explícita (compruebe si le falta una conversión)
 

Preguntas similares