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

Home » Public Forums » archive » Printf
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: Printf [message #91797 is a reply to message #91793] Fri, 28 August 2015 03:40 Go to previous messageGo to previous message
Nikola is currently offline  Nikola
Messages: 53
Registered: November 2009
Member
On Thursday, August 27, 2015 at 12:26:22 PM UTC+1, Dete van Eeden wrote:
> Thank you! it worked.
>
> funny thing is i use xx through the whole program in exactly the same way without a problem, only get an error at the last one
>
> thanks for the side note!!

The problem that you had is in the OPENW line. If you define file1 as you did, then file1 is an array (what is ok), but with OPENW you cannot open more than one file. You could also make it as:

filename = 'maks'+strcompress(xx)+'.txt'

File1 = filepath(filename,subdirectory = ['Final'])

openw,lun,File1[0],/get_lun

...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Google Earth Curtain Plot
Next Topic: help with WHERE( ) function

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

Current Time: Sun Oct 12 04:57:07 PDT 2025

Total time taken to generate the page: 0.44804 seconds