This commit is contained in:
rogerl@netscape.com
1999-05-20 00:14:26 +00:00
parent 07a6670f46
commit 5eeb873cfa
8 changed files with 189 additions and 0 deletions
+15
View File
@@ -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;
}