Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

bsh-demo

Demo for bsh

Demonstrations and samples for bsh.
Homepage:
Package version:1.3.0
Architecture:noarch
Distribution:CentOS
Filename:bsh-demo-1.3.0-15.5.el6.noarch.rpm

/usr/share/bsh/tests/Interactive/README

You have to run these by hand...


/usr/share/bsh/tests/README.txt

Running the Test Scripts
------------------------

Before running the test suite be sure to compile the java clases in the 
classes directory and any subdirs and add this to your classpath.

Then run the RunAllTests.bsh script:

	java bsh.Interpreter RunAllTests.bsh

RunAllTests.bsh will run every file in test with a file extension of ".bsh"
except itself and TestHarness.bsh.  At the end the test
more»

/usr/share/bsh/tests/newscoping.bsh

#!/usr/bin/env /usr/bin/bsh

source("TestHarness.bsh");

// everything in here is for testing the new scoping rules
if ( Interpreter.LOCALSCOPING )
{
	complete();
	return; // note: return from source() doesn't exit caller
}

/*
	New BeanShell 1.3 scoping rules:
*/

// method assignment sees global x
x=0;
incrementX() {
	x=x+1;
}
incrementX();
assert( x == 1 );


boolean goobaflag = false;
// new u
more»

Browse inside bsh-demo-1.3.0-15.5.el6.noarch.rpm

657 B2014-11-26HEADER  view  736+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download bsh-demo-1.3.0-15.5.el6.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com