The conversion is complete. A few changes were made in the implementation, for example, some changes were due to the way line ranges were being handled. I also missed out on differences in the ranges for types, as I developed on a 64-bit machine (Java's types are 64-bit). This ...
Java seems to have done something right in this regard; with continue <label>
, you can, for example, instruct an outer loop to continue
. Remember, continue
glues to the inner-most loop.
For example, you could do write this in Java:
outer_loop:
for (...) {
for (...) {
continue outer_loop;
}
}
To accomplish something similar in C-like ...
From Wikipedia's entry on split, here's a quick way to split a file into 2 on a Unix-y system:
# on source machine
$ split -n 2 myfile
# on target machine
$ cat xaa xab > myfile