Ged Reference
Ged is the tool used to import and export data between html pages and databases and
GoDB's file system.
Note: This is used by GStudio Internally.
Ged can be used for the following :
1) Import Html, Image , Database, Text, config and forms.
2) Export database and config files.
Notes :GoDB filesystems SHOULD be named as "bdb" and should be in the current working directory (of ged and simulator). All the following operations are executed on this file.
Usage : GED [options] InFile [ext]
Options-a Add Any File without translation. Used to add raw binary files.
Usage: Ged -a xyz.txt
-h Add Html files with tag translation. Used to load html pages and forms.
Usage: Adding a Page -- Ged -h test.html .txt
Adding a form-- Ged -h test.html
Note: Refer to -p option to set font height while translation.
-p Sets the font height for translation. This should be combined with -h option.
Usage: ged -p 12 -h test.htm
Note: If this option is not provided then ged assumes a font height of 8.
-g Translates image into GoDB Image file.
Usage: ged -g [FileName] [Rle] [ColorDepth]
Rle - Determines the Compression
0 - Uncompressed.
1 - Compressed.
ColorDepth -
0 - Monochrome
1 - Pallete based 256 color
2 - 64k Colors (RGB565 format).
-i Will index the
a database table
Usage: ged -i [Tablename] [IndexFileName] [KeyField] [KeyLength_in_chars]
Ex: ged -i Comp Comp.idx CompID 12