STR TQBF
SET TQBF "The quick brown fox jumps over the lazy dog."
INT C16 C32
CRC16 C16 TQBF
CRC32 C32 TQBF
PRINTF "CRC16 / 32 of [%s] = %ld / %ld\r\n" TQBF C16 C32
PRINT "Thanks, @SYSOP@!\r\n"
CRC16 / 32 of [The quick brown fox jumps over the lazy dog.] = 58035 / 1368401385
Thanks, digital man!
Please somebody - run this BAJA mod and give me the results that it displays
STR TQBF
SET TQBF "The quick brown fox jumps over the lazy dog."
INT C16 C32
CRC16 C16 TQBF
CRC32 C32 TQBF
PRINTF "CRC16 / 32 of [%s] = %ld / %ld\r\n" TQBF C16 C32
PRINT "Thanks, @SYSOP@!\r\n"
I'd appreciate it!
This is what the ver 2.3 local node gives me for an output
The quick brown fox jumps over the lazy dog.
9705
58035
(Same code, go figure)
Do you realize how much time I spent thinking up that code????? Your's is nicer, but mine worked... :) Here
The quick brown fox jumps over the lazy dog.
1368401385
58035
For the clueless new sysop who is dieing to know, how do I execute aSTR TQBF
SET TQBF "The quick brown fox jumps over the lazy dog."
INT C16 C32
CRC16 C16 TQBF
CRC32 C32 TQBF
PRINTF "CRC16 / 32 of [%s] = %ld / %ld\r\n" TQBF C16 C32
PRINT "Thanks, @SYSOP@!\r\n"
CRC16 / 32 of [The quick brown fox jumps over the lazy dog.] = 58035 / DM>1368401385
Thanks, digital man!
:-)
And you know what? The Ver3 node shows a different output then my local ver BE>2.3 node... I'll post it's outputin a sec.. :)This is *Strange*, while there's many different ways of doing CRC16
Beta
Please somebody - run this BAJA mod and give me the results that it displ
STR TQBF
SET TQBF "The quick brown fox jumps over the lazy dog."
INT C16 C32
CRC16 C16 TQBF
CRC32 C32 TQBF
PRINTF "CRC16 / 32 of [%s] = %ld / %ld\r\n" TQBF C16 C32
PRINT "Thanks, @SYSOP@!\r\n"
I'd appreciate it!
Do you realize how much time I spent thinking up that code????? Your's is nicer, but mine worked... :) Here
The quick brown fox jumps over the lazy dog.
1368401385
58035
From this code
!include sbbsdefs.inc
int crc16 crc32
str bfox
set bfox "The quick brown fox jumps over the lazy dog."
CRC16 crc16 bfox
CRC32 crc32 bfox
print bfox
print \r\n
print crc32
print \r\n
print crc16
And you know what? The Ver3 node shows a different output then my local ver 2.3 node... I'll post it's outputin a sec.. :)
Beta
This is what the ver 2.3 local node gives me for an output
The quick brown fox jumps over the lazy dog.
9705
58035
For the clueless new sysop who is dieing to know, how do I execute a
.bin from synchronet without having to add it to the menu? I've tried
;EXEC (* on renegade menus, then EXEC), but one time windows said an
illegal operation occured, the next time it seemed to ignore the call...
If you saved the above as test.src and compiled it to test.bin, do you
use:
;exec test
;exec test.bin
or something else?
This is *Strange*, while there's many different ways of doing CRC16
and CRC32, I'd expect the CRC16 and CRC32 to be the same identical
routines used in both 2.3 and 3.0 ...
For the clueless new sysop who is dieing to know, how do I execute a
.bin from synchronet without having to add it to the menu? I've tried
;EXEC (* on renegade menus, then EXEC), but one time windows said an
illegal operation occured, the next time it seemed to ignore the call...
If you saved the above as test.src and compiled it to test.bin, do you
use:
Sysop: | Tandy |
---|---|
Location: | New York, USA |
Users: | 15 |
Nodes: | 13 (0 / 13) |
Uptime: | 65:27:28 |
Calls: | 335 |
Messages: | 113,199 |