Problem with LastWriteTime

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
Jon100
Non-Subscriber
Posts: 32
Joined: Wed Nov 24, 2004 1:38 pm

Problem with LastWriteTime

Post by Jon100 » Mon Jun 30, 2008 7:29 am

In the example below Filename and Size work, but LastWriteTime, CreationTime and LastAccessTime don't. Am I accessing the int64ptr incorrectly or is this a bug?
function main()
{
consoleclear

declare myFileList filelist

myFileList:GetFiles["c://somefile.txt"]

echo "File name = ${myFileList.File[1].Filename}"
echo "File size = ${myFileList.File[1].Size}"
echo "File lastwrite = ${myFileList.File[1].LastWriteTime}"
echo "File create = ${myFileList.File[1].CreationTime}"
echo "File access = ${myFileList.File[1].LastAccessTime}"
}
Jon100 / Dorset
"No of course I don't use that macro thingy to 6 box... I just use 6 keyboards at once..."

Jon100
Non-Subscriber
Posts: 32
Joined: Wed Nov 24, 2004 1:38 pm

Post by Jon100 » Mon Jul 07, 2008 9:51 am

Does anyone have any ideas please?
Jon100 / Dorset
"No of course I don't use that macro thingy to 6 box... I just use 6 keyboards at once..."

hendar
GamingTools Subscriber
Posts: 64
Joined: Mon Jan 22, 2007 5:36 am

Post by hendar » Tue Jul 08, 2008 8:36 am

I have no idea, but it seems like you have found a bug. I base this on the fact that you can access a couple of fields, but not the other.

(There is nothing like a wrong answer to cause people to delurk :P )

Post Reply