⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 print.bsh

📁 用java 编写的源码开放的文本编辑器。有很多有用的特性
💻 BSH
字号:
/**	Print the string value of the argument, which may be of any type.	If beanshell is running interactively, the output will always go to the 	command line, otherwise it will go to System.out.	<p>	Most often the printed value of an object will simply be the Java 	toString() of the object.  However if the argument is an array the contents 	of the array will be (recursively) listed in a verbose way.	<p>	Note that you are always free to use System.out.println() 	instead of print().*/bsh.help.print = "usage: print( value )";void print( arg ) {	if ( arg == null )		arg = "null";	if ( arg instanceof Object [] ) {		len = arg.length;		print( "Array: "+arg +" {");		for( int i=0; i< len; i++ ) {			this.interpreter.print("   ");			print( arg[i] );		}		print ( "}");	} else		this.interpreter.println(String.valueOf(arg));}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -