Revised Samples

Started by Kerry Brown · 2009-10-18 07:39 UTC · 13 replies · SMF topic #977

From a topic originating here :
{2}

These are some files to play with.

Note that I have used
(or (= 'EXRXSUBR (type dcl_getversionex))         ; ensure OpenDCL Runtime is loaded
   (command "_OPENDCL")
)

in the file header.
This is because a call to  (command "_OPENDCL") in the function body causes an error when the sample is run from the demo Modeless form.
If this can be rectified, the (command "_OPENDCL") could be included in the function body.

Files will be added as they are completed.
NOTE: these files will be removed from this thread when they are included with an install built.
Regards
kerry


edit : attachments removed (now in build).
More



edit : attachments removed (now in build).
More ..

note: the HTML seems to find an error at 'THE' web page.




edit : attachments removed (now in build).
More ....

note:
The MISC routine may need some optimisation .. the initial dialog display seems to take longer that I think is needed.
Perhaps the initialisation Event is doing too much work ??
can't make time at the moment to have a look.



edit : attachments removed (now in build).
Excellent work, sir! Unless you're still working on it, I'll finish the last few samples so i can remove the _OpendclUtils.lsp file from the install.  I'm inclined to put the (command "OPENDCL") into the main function to make sure it doesn't get overlooked.  Also, I suggested earlier putting the samples-specific code at the end; did you disagree or just took the easiest route?
Great work guys. Sorry I couldn't be more helpful.
Any way you could add some text to the top of "ManualLoading.lsp" stating that it's not the suggested method, or do you think it should be removed entirely?
I think it should be removed. We can archive it here somewhere in case someone wants to go to that length.
Hi, after overflowing the long topic I'm not sure if I have to do anything with the German sample files.
Is there a summary of the need for the prolog in every single file? I couldn't figure it out yet. Please help me understand.

Fred
Fred, there will be fairly extensive changes. I'm making more changes in addition to what Kerry did, so wait for Alpha 9, then we can compare notes.
Hi, good to know. I'm out for the next 2 weeks for customer training. I will update the samples after release of Alpha 9.

Fred
Owen, I'd be happy for someone on that side of the pond to finish it.
I ran out of time Sunday, and now I'm waiting for a cab to head to the train for another full day at the grindstone.

I missed the bit about the sample specific code at the end .. would be better.
Alpha 9 sports updated samples. I splurged and added some save/reset CMDECHO code around the (command "OPENDCL") in the new samples. I'm pretty happy with the overall effect. Except for a few oddballs, the samples now all follow a pretty consistent pattern. There is still a need to fix formatting and capitalization in some samples, but I think this is a nice improvement.

For those of you taking notes, I removed ManualLoading.lsp and _OpendclUtils.lsp, and renamed Config.* and TreeView.* to OptionsTab.* and Tree.* respectively. I also cleaned up a few of the .odcl files (including a total rewrite of the Events sample).

Great, Owen .. thanks.
Thx Owen & Kerry, great work.