Editing schema extract files

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Editing schema extract files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:14 pm

by Wilfred Verkley >> Thu, 6 May 1999 4:56:07 GMT

Hi all,

Whenever I edited a schema extract file in the past (ie to change the inheritence structure of classes) I used notepad. However, the Jade editor itself fully supports the schema extract syntax with color syntax highlighting so its much nicer to edit a schema file (*.cls, *.scm, *.mth etc) within a workspace in Jade itself.

Seems fairly obvious in hindsight...

Wilfred Verkley.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Editing schema extract files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:14 pm

by Eric Peachey >> Tue, 11 May 1999 21:07:42 GMT
Whenever I edited a schema extract file in the past (ie to change the inheritence structure of classes) I used notepad.

On a related topic: beware of editing .ddb files with Notepad. I understand that if you have embedded binary data in the ddb file e.g. for pictures, then Notepad may not save the binary part correctly and you can corrupt the file. I've been told that if you really need to edit a .ddb file which contains binary data then use Wordpad.

Eric Peachey
Cardinal Engineering Centre Dunedin

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Editing schema extract files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:14 pm

by Craig Shearer >> Tue, 11 May 1999 21:20:42 GMT

I think that even WordPad gets it wrong - from memory (though it's been a long time since I had to edit a .ddb file), you need to use Window Write (that came with Windows NT 3.51) or a hex editor.

However, I don't know of any situation in the current version of JADE where you'd want to be editing a .ddb file. If you do, you need to be aware that records in the .ddb file contain a field length at the beginning, so if you're going to change the length of the record, you'd need to update this too. Beware.... very dangerous stuff!!!

Craig.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Editing schema extract files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:14 pm

by Richard Smith >> Tue, 11 May 1999 21:28:40 GMT

One good reason to edit the .ddb file is to remove the instance of Global as this contains data which will overwrite the existing instance in the target database. This can result in lost/changed user data.

Fortunately this will be fixed in Jade 5.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Editing schema extract files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:14 pm

by Hayden >> Thu, 13 May 1999 15:45:33 GMT

Speaking of which (our holy grail from which all will be solved from
when it is released, including the Kosovo crisis.....) - when is it
due? Last I heard was May - May-be, May-not, May 2003 ??
Anyone know the latest ??

Thanks! :-)


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 4 guests