compilebox icon indicating copy to clipboard operation
compilebox copied to clipboard

app.js is dead when trying to run following in python

Open varnar opened this issue 7 years ago • 1 comments

flag = 1
while (flag): 
    print  ('Given flag is really true!')
print "Done"

And error:

ATTEMPTING TO REMOVE: temp/2fe6cc4c7772de1a7581

buffer.js:385 throw new Error('toString failed'); ^

Error: toString failed at Buffer.toString (buffer.js:385:11) at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:378:21)

varnar avatar Feb 19 '18 08:02 varnar

but this is working

flag = 1
while (flag): 
   print ('Given flag is really true!')
   flag = 0

varnar avatar Feb 19 '18 08:02 varnar