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

26
LINES

< > BotCompany Repo | #1031265 // Include all standard functions and classes in one module [include maker]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 1113K of libraries. Click here for Pure Java version (4310L/23K).

1  
!7
2  
3  
cprint {
4  
  bool includeName(S name) {
5  
    //ret !eqOneOf(name, "ai_spec_init");
6  
    if (swic(name, "AI_")) false;
7  
    true;
8  
  }
9  
  
10  
  start-thread {
11  
    new LS lines;
12  
    
13  
    for (S name, snippetID : standardFunctionMap())
14  
      if (includeName(name))
15  
        lines.add("please include function " + name + ".");
16  
      
17  
    lines.add("");
18  
    
19  
    for (S name, snippetID : standardClassesMap())
20  
      if (includeName(name))
21  
        lines.add("please include class " + name + ".");
22  
  
23  
    editSnippet(#1031264, copyToClipboard(lines(lines)));
24  
    print("Include text copied to clipboard");
25  
  }
26  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031265
Snippet name: Include all standard functions and classes in one module [include maker]
Eternal ID of this version: #1031265/4
Text MD5: 4a49827244960ca4bb8c29c62434b454
Transpilation MD5: adf5a374c3825aea14acd8d0733bc3df
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-26 18:40:50
Source code size: 622 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 86 / 131
Version history: 3 change(s)
Referenced in: [show references]