Re: integer value too large?



On Apr 28, 10:35 pm, tickle007 <tickle_b...@xxxxxxxxx> wrote:
I am getting this error:

"integer value too large to represent as non-long integer"

The command itself is "after $wait_time [...]". Any suggestons how to
resolve this?

What is your Tcl version? If it is 8.4 the value in $wait_time might b
too large. Also you probably dont want the [...] but {...} but this is
impossible to say without knowing what ... is.

Can you put the whole script (or a couple of lines around this command
it the whole script is too large) to give us some more info as to why
it fails?

Also what is the traceback you get after the error? If you are doing
this interactively you can get the traceback with:
set ::errorInfo

Mark

.



Relevant Pages

  • Re: Key-passing from PHP to TCL CGI script - how is it done (web security issue)?
    ... TCL v.8.3 ... set hasEnteredTrivia 0 ... # NEW 8/7/2004 USE PHP (AS CGI) TO CHECK IF USER IS ATTEMPTING TO ENTER ... # USE REMOTE PHP SCRIPT TO CHECK FOR REPOSTING ...
    (comp.lang.tcl)
  • embedded Tcl performance -- how to make it faster?
    ... My application already provides a limited scripting language to our ... I set off to embed Tcl. ... (Embedded Ruby ... and then retrieve results back in the app once the script ...
    (comp.lang.tcl)
  • Expect: interact and buffering?
    ... with the tcl application and terminated it. ... remaining output would display and the Expect script would end. ... I have changed the interact in an attempt to make it process character ...
    (comp.lang.tcl)
  • Re: Functional programming versus TCL-like strings rant
    ... > Someone suggested that using combinations of custom-built control ... I assume you mean a script built up at ... In a language like Tcl, ... * Tcl uses a limited form of lexical/static scoping for commands ...
    (comp.lang.tcl)
  • Re: No argv, argc for worker thread
    ... I expected that a Tcl interpreter started in any manner would accept options ... This is how the interpreter works with command line options ... a "main" script processes command line ...
    (comp.lang.tcl)