File: sourcereturn.bsh

package info (click to toggle)
bsh 1.0-beta-2
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 1,804 kB
  • ctags: 1,857
  • sloc: java: 14,653; makefile: 53; sh: 14
file content (10 lines) | stat: -rw-r--r-- 214 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/java bsh.Interpreter

source("TestHarness.bsh");

// Note: no import needed here because the source() handled it.
// Neat!
assert( source("Data/actionHandler.bsh") instanceof ActionListener );

complete();