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

14
LINES

< > BotCompany Repo | #1012935 // Test pattern rule (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (20922L/151K).

1  
!7
2  
3  
sS rule = [[
4  
  if "bla"
5  
  then "bla"
6  
]];
7  
8  
p {
9  
  ai_independentSmartBot();
10  
  ai_setVars("#input", "BLA");
11  
  assertTrue(je_checkRule_debug(rule));
12  
  assertEquals("bla", je_checkAndExecuteRule(rule));
13  
  print("OK");
14  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012935
Snippet name: Test pattern rule (OK)
Eternal ID of this version: #1012935/4
Text MD5: 541945c8fdd6f65176d24b69e4e796a9
Transpilation MD5: 7bc731cff4b5a53c2443382a2fe13e70
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-18 01:30:32
Source code size: 231 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 312 / 754
Version history: 3 change(s)
Referenced in: [show references]