|
84734 packages online
|
|
|
|
dev/asm/AnyStrToLong.lha |
|
No screenshot available
|
|
Here you have two routines for converting string<->long.
The first one is similar to dos.library/StrToLong(), but it can handle
hexadecimal and binary strings as well (prefixes '$', '0x' and '%'). The
second one converts given longword to a string - you can select between
decimal, signed decimal (minus when bit 31/15/7 is set), hexadecimal and
binary.
AnyStrToLong remains the same as for the first relase.
AnyLongToStr - fixed bad handling of 10, 100, 1000 etc. (was
'bhi' instead if 'bpl', sorry!!!), optimized dividing by ten routine for
68000 (thanks to Simon N Goodwin for this!), added handling of signed
words and bytes.
Tadek Knapik (tadek@student.uci.agh.edu.pl)
|
Contents of dev/asm/AnyStrToLong.lha
PERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic] 1983 5143 38.6% -lh5- 0f05 Nov 3 1996 AnyStrToLong/AnyLongToStr.asm
[generic] 1735 4805 36.1% -lh5- 76b1 Oct 16 1996 AnyStrToLong/AnyStrToLong.asm
[generic] 2048 4359 47.0% -lh5- 2d7f Nov 3 1996 AnyStrToLong/AnyStrToLong.doc
[generic] 497 894 55.6% -lh5- e472 Nov 3 1996 AnyStrToLong/AnyStrToLong.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
Total 4 files 6263 15201 41.2% Nov 5 1996
|
|
|
|
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |