清空文件:usr\sap\<SID>\DVEBMGS00\log\SLOG00.LOG
使用Ultraedit 打开文件删除里面的所有内容保存空文件即可
To see a world in a grain of sand.
And a heaven in a wild flower
Hold infinity in the palm of your hand.
And eternity in an hour
一花一世界
一沙一天堂
掌中握无限
霎那成永恒
语法,
TRY.
... " TRY block (application coding)
CATCH cx_... cx_... ...
... " CATCH block (exception handler)
CATCH cx_... cx_... ...
... " CATCH block (exception handler)
...
CLEANUP.
... " CLEANUP block (cleanup context)
ENDTRY.
如果想处理所有异常,使用
catch cx_root.
if(obj.getClass().isArray()) {}
and
if(obj instanceof Object[]) {}
| In general, use the At the JVM level, the The reflective approach ( There are two special cases: null references and references to primitive arrays. A null reference will cause Applied to a primitive array, the |
Ifobjis of typeint[]say, then that will
have an arrayClassbut not be an instance ofObject[].
So what do you want to do withobj. If you are going to
cast it, go withinstanceof. If you are going to use
reflection, then use.getClass().isArray().
总结:
isArray的方位更加广泛。
instance Object[]不能确别int[]等数组。
所以,那个更好,要看自己的具体情况了
在阅读 Practical Common Lisp书的时候,突然想到LISP的注释符号应该是如何写呢?
google了下。
http://www.cc.gatech.edu/computing/classes/cs2360/ghall/style/com_mechanics.html
单句注释;分号表示 ;;;header
块注释 #|
Notes:zh
#
另外一种非常规的注释,是在代码中用“ ”来表示,比如下列代码(defun mumble_fcn ( arg1 arg2 )
"This function takes two arbitrary arguments and returns some
arbitrarily random result. NOTE: both arguments should be non-nil."
(do-random-thing (do-random-thing arg1 ) arg2 ))
(defun mumble_fcn ( arg1 arg2 )
"This function takes two arbitrary arguments and returns some
arbitrarily random result. NOTE: both arguments should be non-nil."
(do-random-thing (do-random-thing arg1 ) arg2 ))