GMLscripts.com

Discuss and collaborate on GML scripts
Invert

You are not logged in.

#1 2008-02-25 05:27:36

$pecter
Member
From: Australia
Registered: 2008-01-18
Posts: 9

bin_to_bytes, Error

In the script bin_to_bytes the variable out just 'appears' on the 4th last line and isn't initialized anywhere else.
Error?

Offline

#2 2008-02-26 07:19:22

xot
Administrator
Registered: 2007-08-18
Posts: 1,201

Re: bin_to_bytes, Error

Good catch. That "out" should say "str". I often use "out" for my return values, but I remember changing it at the last minute to match "str" used in it reciprocal function bytes_to_bin. I can't believe nobody spotted that in the 11 months it's been online. whistle

Thanks, I've corrected it.


Abusing forum power since 1986.

Offline

Board footer

Powered by FluxBB