The GETCWD function allows a jBC program to determine the current working directory of the program. This will normally be the directory from which the program was executed but may have been changed with the CHDIR function.
When executed the Var will be set to the name of the current working directory. The function itself returns a Boolean TRUE or FALSE value indicating whether the command was successful or not.
Refer to your UNIX or Windows documentation (sh is a good place to start), for more information on the concept of the current working directory.