Permalink
Browse files

Fix xpl.par and xpl test

  • Loading branch information...
badlee committed Jan 24, 2012
1 parent 8a20600 commit d9b86481c5bec6c2516a23a7382d94dc71bf7636
Showing with 6 additions and 4 deletions.
  1. +0 −1 par/xpl.par
  2. +0 −1 par/xpl.par.js
  3. +6 −2 test/xpl/hello.xpl
View
@@ -24,7 +24,6 @@ var read_string_exec = false,
read_string = function(fn){
process.stdin.resume();
process.stdin.setEncoding('utf8');
- process.stdout.write(" > ");
process.stdin.on('data', function (chunk) {
fn(chunk);
process.stdin.pause();
View
@@ -6,7 +6,6 @@ var read_string_exec = false,
read_string = function(fn){
process.stdin.resume();
process.stdin.setEncoding('utf8');
- process.stdout.write(" > ");
process.stdin.on('data', function (chunk) {
fn(chunk);
process.stdin.pause();
View
@@ -1,3 +1,7 @@
//This is a simple Hello World script, written in XPL.
-say 'Hello World';
-read test;
+say 'Enter a number : ';
+read num;
+say '2 x ';
+write num;
+say ' = ';
+write num*2;

0 comments on commit d9b8648

Please sign in to comment.