[postgis-users] How to assign values to a bimensional array?

Eduardo Patto Kanegae lists at webmapit.com.br
Tue Oct 26 10:51:41 PDT 2004


even for assigments as:

myarray[1][1] := myvalue;

gives me no value.


Eduardo Patto Kanegae
http://www.webmapit.com.br
ICQ: 303747254

Treinamento em UMN MapServer - http://www.webmapit.com.br/ptbr/?menuoption=mapserver
Fórum MapServer Brasil - http://mapserver.cttmar.univali.br/forum

***Fim da Mensagem / End of Message ***






On Tue, 26 Oct 2004 11:15:16 -0400, "Purvis, Charlton" <cpurvis at asg.sc.edu> escreveu:

> De: "Purvis, Charlton" <cpurvis at asg.sc.edu>
> Data: Tue, 26 Oct 2004 11:15:16 -0400
> Para: 'PostGIS Users Discussion' <postgis-users at postgis.refractions.net>
> Assunto: RE: [postgis-users] How to assign values to a bimensional array?
> 
> 
> Doh.  I meant arrays are 1-based.  Not indexes.
> 
>  
> 
>   _____  
> 
> From: Purvis, Charlton [mailto:cpurvis at asg.sc.edu] 
> Sent: Tuesday, October 26, 2004 11:14 AM
> To: 'PostGIS Users Discussion'
> Subject: RE: [postgis-users] How to assign values to a bimensional array?
> 
>  
> 
> > I'm trying to develop a PL/PgSQL function to calculate inverse T 
> > distribution , just like INVT() does at MS Excel. 
> 
> > it fails! no value is assigned to any of the array addresses. 
> 
> I may be shot on the spot, but I believe that psql indexes are 1-based.  Not
> 0-based.  Maybe that's your problem? 
> 
> Do you get an error or nothing happens? 
> 
> Charlton 
> 
> 
> 



More information about the postgis-users mailing list