comparison core/src/luan/modules/Debug.luan @ 300:9fb523472035

add java() to control java access git-svn-id: https://luan-java.googlecode.com/svn/trunk@301 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Tue, 16 Dec 2014 13:13:33 +0000
parents 2ce23c7e2342
children 7f7708e8fdd4
comparison
equal deleted inserted replaced
299:a74559240b4f 300:9fb523472035
1 import "luan:Table" 1 import "luan:Table"
2 import "luan:Io"
2 3
3 4
4 function print_if_something(...) 5 function print_if_something(...)
5 if Table.pack(...).n > 0 then 6 if Table.pack(...).n > 0 then
6 print(...) 7 print(...)