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

Home » Public Forums » archive » Referencing structure inline
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: Referencing structure inline [message #89834 is a reply to message #89832] Tue, 09 December 2014 00:42 Go to previous messageGo to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
Seems to be a bug in your IDL version. The following works in IDL 8.0:

IDL> help,file_info(!dir)
** Structure FILE_INFO, 21 tags, length=64, data length=63:
NAME STRING 'C:\idl\idl80'
EXISTS BYTE 1
READ BYTE 1
WRITE BYTE 1
EXECUTE BYTE 1
REGULAR BYTE 0
DIRECTORY BYTE 1
BLOCK_SPECIAL BYTE 0
CHARACTER_SPECIAL
BYTE 0
NAMED_PIPE BYTE 0
SETUID BYTE 0
SETGID BYTE 0
SOCKET BYTE 0
STICKY_BIT BYTE 0
SYMLINK BYTE 0
DANGLING_SYMLINK
BYTE 0
MODE LONG 511
ATIME LONG64 1418112222
CTIME LONG64 1299161262
MTIME LONG64 1349551389
SIZE LONG64 0
IDL> print,(file_info(!dir)).name
C:\idl\idl80
IDL> print,(file_info(!dir)).ctime
1299161262
IDL> print,!version
{ x86 Win32 Windows Microsoft Windows 8.0.1 Oct 5 2010 32
64}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Type conversion error: Unable to convert given STRING to Long.
Next Topic: loop for XML

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

Current Time: Wed Oct 08 13:37:55 PDT 2025

Total time taken to generate the page: 0.00410 seconds