﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1429	Change return value of FileGetSize() on failure.	Anonymous		"Please change the return value of FileGetSize() to -1 when failure occurs. This would make more sense as it is also the way that DirGetSize() works.

Consider the following code.

If Not FileGetSize($sFile) Then FileDelete($sFile)

This code will delete a file if its size is 0. Unfortunately, it would also delete the file if FileGetSize() failed for any reason. Changing the failure return value to -1 would avoid this problem since Not(-1) = False."	Feature Request	closed		AutoIt		None	Rejected		
