mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-26 03:39:29 +00:00
More complex example for SerpentEditor
This commit is contained in:
parent
20740beac2
commit
85c8b38b4e
@ -30,10 +30,17 @@ public class SerpentEditor extends JFrame {
|
||||
|
||||
private String codeSample2 = "\n\n\n" +
|
||||
"" +
|
||||
"\n" +
|
||||
"\n" +
|
||||
"a=block.gaslimit\n" +
|
||||
"b = block.difficulty\n" +
|
||||
"if 10*2+5 > 15:\n" +
|
||||
" b = 2\n" +
|
||||
"elif 2*6+5 < a ^ 6:\n" +
|
||||
" c = 4\n" +
|
||||
"else:\n" +
|
||||
" d = 5\n" +
|
||||
" \n" +
|
||||
"\n" +
|
||||
"return(0)\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user