Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | misc |
include "edit.g"
file | File to edit | ||
Allowed: | string | ||
execute | Read the file into glish? | ||
Allowed: | T or F | ||
Default: | T | ||
editor | Editor to use, if unset use EDITOR | ||
Allowed: | string | ||
Default: | '' |
ok := edit('myfile.g'); ok := edit('myfile.g', execute=F); # Edit, but don't execute ok := edit('myfile.g', editor='vi'); # Edit with vi