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 #91799 is a reply to message #91791] Fri, 28 August 2015 15:21 Go to previous message
joyrles1996 is currently offline  joyrles1996
Messages: 27
Registered: August 2015
Junior Member
Em quinta-feira, 27 de agosto de 2015 06:08:40 UTC-3, Dete van Eeden escreveu:
> This makes No sense to me. I have the following:
>
>
> filename = 'maks'+strcompress(xx)+'.txt'
>
> File1 = filepath(filename,subdirectory = ['Final'])
>
> openw,lun,File1,/get_lun
>
> then I get the error OPENW: Expression must be a scalar or 1 element array in this context: FILE1.
>
> before even getting to the printf part.
>
> thanks

;Create of file
get_lun, u
openw, u, 'C:\Users\Joyrles\Desktop\IDL\file.txt', get_lun

;edit the file
printf, u, datas

;close your file
close, u
;release the unit
free_lun, u
[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: Wed Oct 08 17:05:55 PDT 2025

Total time taken to generate the page: 0.00397 seconds