New.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class JSInteger extends JSNumber {
|
||||
|
||||
JSInteger(String s)
|
||||
{
|
||||
i = new Integer(s).intValue();
|
||||
}
|
||||
|
||||
void eval(Environment theEnv)
|
||||
{
|
||||
theEnv.theStack.push(new StackValue(i));
|
||||
}
|
||||
|
||||
int i;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user