"Arr of int" umesto "int" kod niz[5]
Djole je ovo vec pitao, ali nisam pronasao odgovor.
Ako imamo: int niz[]; ... niz[5]
//primer sa casa
ident_expr_list ::= ident_expr_list:id LSQUARE expr RSQUARE {: ... RESULT = id; :}
Po ovome niz[5] ce imati tip "Arr of int" umesto samo "int".
Problem mi je sto nemam nijedan Obj cvor (tipa int) koji bih dodelio RESULT-u (kod klasa makar imam onaj Fld Obj cvor, pa i radi).
Gde gresim? Kako da resim?
Pozdrav,
Milos
____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
Ako imamo: int niz[]; ... niz[5]
//primer sa casa
ident_expr_list ::= ident_expr_list:id LSQUARE expr RSQUARE {: ... RESULT = id; :}
Po ovome niz[5] ce imati tip "Arr of int" umesto samo "int".
Problem mi je sto nemam nijedan Obj cvor (tipa int) koji bih dodelio RESULT-u (kod klasa makar imam onaj Fld Obj cvor, pa i radi).
Gde gresim? Kako da resim?
Pozdrav,
Milos
____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
- Follow-Ups:
- Re: "Arr of int" umesto "int" kod niz[5]
- From: Marko Savić <msgile@verat.net>
- Re: "Arr of int" umesto "int" kod niz[5]
Previous by date: Re: za asistenta
Next by date: Re: "Arr of int" umesto "int" kod niz[5]
Previous by thread: Re: Semanticka analiza: provera poziva metode Next by thread: Re: "Arr of int" umesto "int" kod niz[5]
Previous by thread: Re: Semanticka analiza: provera poziva metode Next by thread: Re: "Arr of int" umesto "int" kod niz[5]