comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: issue with CMSAVE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: issue with CMSAVE [message #83917 is a reply to message #83916] Thu, 18 April 2013 09:30 Go to previous messageGo to previous message
DavidF[1] is currently offline  DavidF[1]
Messages: 94
Registered: April 2012
Member
On Thursday, April 18, 2013 10:17:31 AM UTC-6, fgg wrote:

> I'm using Markwardt's CMSAVE and I'm having problems saving structures that include a 2-D array:
>

> my_struct = {a:1, b:2, c:make_array(544,8, /byte)}
> cmsave, data=my_struct, file='C:/Documents/test.sav', /verbose
> % CMSAVE: CMSAVE version 1.16
> % CMSAVE: CMSV Library version 1.7
> % CMSAVE: Portable (XDR) SAVE/RESTORE file.
> % CMSAVE: Saved variable: A.
> % CMSAVE: Saved variable: B.
> % CMSAVE: Expression must be named variable: <BYTE (Array[544, 8])>
>
> How can I fix this?

Well, you could make your C field point to a named variable instead of an expression. :-)

Cheers,

David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: cgArrow Solid keyword with a cgWindow
Next Topic: Re: plot and contour inconsistency

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 21:43:32 PDT 2025

Total time taken to generate the page: 1.51923 seconds