Jason Johnston wrote:
> First you assign the 'useless' variable a String value, then you
> create the continuation.  When you resume the continuation the first
> time, you re-assign the 'useless' variable so that it now holds an
> Array value (String.split() returns an Array).  When you resume the
> continuation again, you try to call .split() on the 'useless' var,
> which is now an Array, and the error is appropriately thrown since an
> Array has no such method.

If that's the case, I think this piece of documentation is misleading:

«Think of a continuation as an object that, for a given point in your
program, contains a snapshot of the stack trace, including all the local
variables, and the program counter.»


Toby

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to