You are reading a single comment by @Old_account and its replies. Click here to read the full conversation.
  • Here's what I got (hope I did it right):

    >alarms
    =[
      { on: true, hr: 13, last: 14, rp: true }
     ]
    >require("Storage").readJSON("alarm.json­")
    =[
      { on: true, hr: 13, last: 14, rp: true }
     ]
    >require("Storage").write("alarm.json",J­SON.stringify([
    :  { on: true, hr: 12, last: 14, rp: true },
    :  { on: true, hr: 13, last: 14, rp: true }
    : ]));
    =true
    >require("Storage").readJSON("alarm.json­")
    =[
      { on: true, hr: 13, last: 14, rp: true }
     ]
    > 
    

    As you can see, at this point I have an alarm at 13:00 that I cannot delete.

About

Avatar for Old_account @Old_account started