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

17
LINES

< > BotCompany Repo | #1030001 // Hello Program

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

Uses 911K of libraries. Click here for Pure Java version (9887L/53K).

!7

concept MyObject {
  S myName;

  toString { ret "I am " + myName; }
}

cprint Hello {
  start {
    db();
    print("Number of objects in DB: " + countConcepts(MyObject));
    cnew MyObject(myName := "Stefan");
    print("Number of objects in DB: " + countConcepts(MyObject));
    print(list(MyObject));
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030001
Snippet name: Hello Program
Eternal ID of this version: #1030001/9
Text MD5: 6418af2c58c265762c3ff107129d90cb
Transpilation MD5: 2c737950e2af5c93a4db83d6d5434e33
Author: stefan
Category:
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-28 09:25:45
Source code size: 314 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 126 / 604
Version history: 8 change(s)
Referenced in: [show references]