Re: [Pvmanager-devel] Data conversion from scalar to array
Brought to you by:
carcassi,
epics-jenkins
From: Dalesio, L. <da...@bn...> - 2010-12-08 14:36:33
|
OTOH, a scalar could be brought into a matrix multiplication to enable or disable - a scalar of one or two. I change my vote - it should convert to an array of 1 element. -----Original Message----- From: Dalesio, Leo Sent: Wed 12/8/2010 9:28 AM To: Ralph Lange; pvm...@li... Subject: Re: [Pvmanager-devel] Data conversion from scalar to array +2 -----Original Message----- From: Ralph Lange [mailto:Ral...@be...] Sent: Wed 12/8/2010 4:49 AM To: pvm...@li... Subject: Re: [Pvmanager-devel] Data conversion from scalar to array On 07.12.2010 19:00 Marty Kraimer wrote: > On 12/07/2010 10:53 AM, Carcassi, Gabriele wrote: >> That is: if I ask for a VDouble, but the native type is an array >> VDoubleArray, should I automatically return a VDouble with the first >> element or return a type mismatch error? If I ask for a VDoubleArray, >> but the native type is a VDouble, should I return a VDoubleArray with >> an array of size 1 or return a type mismatch error? >> >> >> >> My hunch is to not make these conversions by default, but to provide >> (if needed), an operation that does such conversion. this way the >> user can do it but it's an explicit operation. >> >> >> >> Agree? Disagree? >> > > I vote for type mismatch error. +1 ~Ralph ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Pvmanager-devel mailing list Pvm...@li... https://lists.sourceforge.net/lists/listinfo/pvmanager-devel |