Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1007483 // Clear all local AI data (!)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 3874K of libraries. Click here for Pure Java version (5125L/35K/121K).

!7

p-subst {
  if (confirmOKCancel("Really clear all local AI data (concept + truth table)?")) {
    main.run(#1007485); // shut down AI DBs
    
    deleteAllConceptsOfProgram(#1007236);
    deleteAllConceptsOfProgram(#1006463);
    deleteFile(getProgramFile(#1006463, "exportSnippetID.text");
    
    messageBox("All AI concepts deleted.");
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wtqryiryparv

No comments. add comment

Snippet ID: #1007483
Snippet name: Clear all local AI data (!)
Eternal ID of this version: #1007483/7
Text MD5: bcbc1b608304d17b9e13e5188d7f4484
Transpilation MD5: 4c1a84d5c32ef5aecab85cb67048250d
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-24 15:12:26
Source code size: 362 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 457 / 562
Version history: 6 change(s)
Referenced in: [show references]