Re: Checksum



I'm a newbie to TCL. When I add the command "package require cksum",
I get the error "can't find package cksum." Is there a file I should
add to the server? If so, do you know where I can download it?

I'm trying to get a network operations software package called Priisms
to display alarm messages on an LED marquee. The command to change
the text on the sign is a series of hex numbers with a 16-bit checksum
at the end.

Bryan Oakley wrote:
You might need to add "package require cksum" to your code as well. It's
unfortunate that you need to do "package require cksum" but the commands
actually live in the crc namespace.

Out of curiosity, what's the point of this exercise? Is it homework?

.



Relevant Pages

  • Re: now do you "link" .tcl files?
    ... I think from the position of a newbie, this is how linking in Tcl ... At the time of the call, Tcl looks up the command named "foo" using ... pkgIndex.tcl for a Tcl-only package usually contains ...
    (comp.lang.tcl)
  • Re: now do you "link" .tcl files?
    ... I think from the position of a newbie, this is how linking in Tcl ... To "declare" a .tcl file with some proc's as part of a package ... foobar version 1.0 use this command at the end of the ...
    (comp.lang.tcl)
  • Re: posting a form data /automate IE
    ... If accessing a web page via tcl, ... package require http ... functions to send command to Windows objects. ...
    (comp.lang.tcl)
  • how to append these values?
    ... maxValue" for each x and y values into different lists. ... Is there any command in tcl to apeend as mentioned above for the ... following program in tcl using tDOM package ....... ...
    (comp.lang.tcl)
  • Re: tcl interp inside vim throws error w/ clock format
    ... the first definition of [clock] ... essentially retrying the command. ... to pull in the Tcl code for the rest of and then do ... and [package require registry 1.1] at the head of 'clock.tcl'. ...
    (comp.lang.tcl)