Jump to content
Sign in to follow this  
clearguy

_FileCountLines returns negative value

Recommended Posts

Valuater

Hi,

I used to cout the lines of jpg,rar, and it returns negative value,like -4011,what does it mean?

if you "could" read the lines in a jpg file... what are you going to do with it???

8)

it probably should state what type files are able to be used in the help file

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
Xenobiologist

if you "could" read the lines in a jpg file... what are you going to do with it???

8)

it probably should state what type files are able to be used in the help file

HI,

I agree with the helpfile thing. I tested it. It seems to be the size - 6.

I opened a file in Ultraedit it shows number - 6 as size.

So long,

Mega

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
clearguy

I want to us it because I'm making an encryptor :P

Yes,in the help file is written that it works only with text file.

It isn't a problem anymore I found another way to do my project,thanx anyway.

Edited by clearguy

Share this post


Link to post
Share on other sites
Xenobiologist

Hi,

try

#include<File.au3>
$path = "c:\Dokumente und Einstellungen\xf01145\Eigene Dateien\Eigene Bilder\cursor.JPG" 
MsgBox(0,"Size", FileGetSize($path))
MsgBox(0,"", _FileCountLines($path))
If @error = 1 Then ConsoleWrite("Error")

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
Jos

I hope you're not serious about the helpfile statement ... right ?

To me its like a "Don't use this Microwave to dry your cat" remark.... :P


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×