| Global Index | ||||
|---|---|---|---|---|
| dns? | get-dirs | load-session-file | parse-doc | read-dir |
| do-with | IP-addresses | mtime | puts | sendmail |
| file-size | ip? | |||
| Function: dns? | Top | Globals Index | Next |
|
syntax: dns? Read Machine/computer name |
| Function: do-with | Top | Globals Index | Back | Next |
|
syntax: do-with <word-file-string> <word-file-string-subdir> description: evaluate a single file as a word, string or file from subdirectory. Note: Unlike import or modules - file extension is optional refinement: /again Force reload |
| Function: file-size | Top | Globals Index | Back | Next |
|
syntax: file-size <file-or-string> Get the size of a file. |
| Function: get-dirs | Top | Globals Index | Back | Next |
|
syntax: get-dirs Return list of sub-directories. |
| Function: IP-addresses | Top | Globals Index | Back | Next |
|
syntax: IP-addresses Collect IP addresses for Host Machine |
| Function: ip? | Top | Globals Index | Back | Next |
|
syntax: ip? Read Machine/computer Network address |
| Function: load-session-file | Top | Globals Index | Back | Next |
|
syntax: load-session-file <file-string> <string-file-path> description: Loads a session file from path. Optional object prototype - returns an object refinement: /proto <object-prototype> Load an object template |
| Function: mtime | Top | Globals Index | Back | Next |
|
syntax: mtime <file> Get MTime for file |
| Function: parse-doc | Top | Globals Index | Back | Next |
|
syntax: parse-doc <str-url-file> description: Parses a web page into a block of strings in which tags are seperate strings from non-tags. Each substring is preceded by numeric 2 for string and 1 for tag |
| Function: puts | Top | Globals Index | Back | Next |
|
syntax: puts <file-none-logic-word-string-block> description: Outputs to one or more file handles. Controlled by datatype of argument arg: If file! - open a file for output arg: If none! or logic! - close port. Stop services. True is unacceptable. arg: If word! - one of print or noprint arg: If block! or string! - output |
| Function: read-dir | Top | Globals Index | Back | Next |
|
syntax: read-dir <str-extension> Return block if files ending with extension Note: Using "*" as in "*.r" is just syntax sugar refinement: /only - strip extensions in return block |
| Function: sendmail | Top | Globals Index | Back |
|
syntax: sendmail <email-str-block-address> <header-object> <str-blk-message> description: Wrapper for send/header. Insures that a seperate copy of address is passed, since the send mezzanine function clears the header/to member Header. Example: envelope: make system/standard/email[ to: address ;; must be email! from: sender ;; must be email! subject: "subject here" ;; string ] ;; end context refinement: /check trap and throw errors refinement: /attach <f> Email-addr & default-server. See set-net documentation |