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

20
LINES

< > BotCompany Repo | #1004879 // Test new luaQuote

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

Uses 5262K of libraries. Click here for Pure Java version (1081L/8K/26K).

1  
!752
2  
3  
!include #1004878 // new luaQuote
4  
5  
lib 1004739 // aibo
6  
7  
static S oldLuaQuote(S s) {
8  
  ret net.luaos.tb.common.LuaUtil.quote(s);
9  
}
10  
11  
static S s = [[
12  
  Nasty
13  
  Multi Lines
14  
  With \\ Back || Slashes //!
15  
]];
16  
  
17  
p {
18  
  assertEquals(oldLuaQuote(s), luaQuote(s));
19  
  print("ok!");
20  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004879
Snippet name: Test new luaQuote
Eternal ID of this version: #1004879/1
Text MD5: 23409f0a36f4bce4d21ae1636dd53ccd
Transpilation MD5: a7126e85aeb17452fe8dceaf7b21a461
Author: stefan
Category: javax / lua
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-11 23:10:19
Source code size: 297 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 610 / 654
Referenced in: [show references]