Skip to content
  • Rob Swindell's avatar
    d4d05239
    Make global read(0) and readln(0) return undefined · d4d05239
    Rob Swindell authored
    This is really an error condition, so like the jsdocs say:
    return undefined upon error
    
    This how read(0) worked in sbbs, but not jsexec before that last commit,
    so now just make readln and read work like that in both sbbs and jsexec.
    d4d05239
    Make global read(0) and readln(0) return undefined
    Rob Swindell authored
    This is really an error condition, so like the jsdocs say:
    return undefined upon error
    
    This how read(0) worked in sbbs, but not jsexec before that last commit,
    so now just make readln and read work like that in both sbbs and jsexec.
Loading