Command Line Overview

The cmd line feeds into the HolyC compiler line-by-line as you type. A stmt outside a function executes immediately. Remember to add a semicolon. Look-up the function headers with AutoComplete by hitting <CTRL-SHIFT-F1> after typing the first few letters. Click Here to see the directory cmd header. It accepts default args from C++. >Dir("*.DD.Z"); If you don't have args, you don't need parenthesis. >Dir; Directories are referenced with / not \. There is a current directory, but not a path. To run a program, you typically #include it. There are several shortcuts for #includeing files. Right-click or hit <ENTER> on a directory listing or press <F5> while editing. >Ed("NewFile.HC.Z"); Invokes the editor. See Doc Link Type. Most filenames end in .Z because they are stored compressed. Drives are specified with a letter. The boot drive is specified with a ':'. The home dir drive is specified with a '~'. >Drv('B'); B drive The drive can be specified in a Cd() command as in: >Cd("B:/Tmp"); B drive >Cd("::/Demo"); Boot drive The home directory is specified with a '~'. >Cd("~/Psalmody"); See ::/Home dir. If a file is not found, .Z is added or removed and a search is done, again. If a file is still not found, all parent directories are searched. You can place macros in your PersonalMenu for Cd() commands. <CTRL-m> to access your menu. >Find("needle","/Demo/*.HC.Z;*.DD.Z;"); See File Utils. Cmd Line Routines Take Tour