- Getting modules to load. Component Builder 1.5

From: [at]} <Wojtek>
Date: Wed, 21 Mar 2007 12:15:14 -0400 (EDT)

----boundary-LibPST-iamunique-1918604755_-_-
Content-type: text/plain

On Wed, 21 Mar 2007 HajasW{([at]})nowhere.xy

> Andrew:
>
> The bigger picture is that my model requires some numerical calculations.
> Some integration and some root-finding.

Go to Component Pascal Collection website and get the Chill package.
It is one of the best (or THE best) math collection ever written
in any programming language. Extremely well documented, and has all the
graphics you will ever need.

And by the way, Helmut's website is very well maintained and useful.
Once you explore it you will likely find that 99.99% of your programming
needs are fulfilled by Helmut.

http://www.zinnamturm.de/Default.htm

Hope it helps,
Wojtek



> I've found these calculations to be very messy and inefficient when they are
> put directly into WINBUGS.
>
>
> Do you have any ideas or suggestions?
>
> Initially I tried to follow the examples from the WinBUGS Development
> web-site. I didn't appreciate that the example was for bringing a single
> function into WINBUGS as opposed to developing a useable library of
> routines. That's why I thought the modules just weren't loading.
>
> So far my plan is to
>
> * Create a collection of procedures in Component-Builder to do all the
> nasty calculations.
> * Structure the collection so that WINBUGS only needs to call one of

> the procedures directly.
> * Then follow the examples from the WinBUGS Development web-site.
>
> I've already developed the numerics once in C++. They seem to work ok.
>
> I am not as confindent about Component-Builder and that's where I am more
> likely to need advice.
>
> Thanks again,
> Wayne Hajas
>
>
>
> -----Original Message-----
> From: blackbox{([at]})nowhere.xy
> Sent: March 20, 2007 11:51 PM
> To: blackbox{([at]})nowhere.xy
> Subject: [BlackBox] - Getting modules to load. Component Builder 1.5
>
>
>
> Hei Wayne,
>
>
>
> I am not quite sure what you want to do but I know a lot about
> OpenBUGS so maybe I can help...
>
>
>
> Moi
>
>
>
>
>
> Andrew
>
>
>
>
> _____
>
>
> From: blackbox{([at]})nowhere.xy
> HajasW{([at]})nowhere.xy
> Sent: 20. maaliskuuta 2007 17:48
> To: BlackBox Mailing List
> Subject: [BlackBox] - Getting modules to load. Component Builder 1.5
>
>
>
> I am new to Pascal and new to Component Builder. I do have some prgramming
> experience.
>
>
>
> I am trying to add some mathematical functions to an existing
> package(WinBugs) developed in Component Builder. I do not wish to change
> the GUI of the existing package.
>
>
>
> I can follow some examples and develop a new module and successfully compile
> it. .ocf and .osf files are created. When I look at the loaded modules I
> don't see the module I have successfully compiled.
>
>
>
> I am not able to develop a second module that calls the first module .
> Where the first module is called I get "Undeclared Identifier".
>
> I'm generally confused about what the first function should be called when I
> call it from the second function. I am not sure if the .osf and .ocf are
> going to the right place. And I'm not sure if I'm doing the right things in
> the Rsrc directory.
>
>
>
> So I'm looking for some guidance for loading modules. And if somebody can
> point me to some good web-references that would be great.
>
>
>
> Thanks very much,
>
>
>
> Wayne Hajas
>
> Pacific Biological Station
>
> 3190 Hammond Bay Road
>
> Nanaimo, BC
>
> Canada
>
> V9T 6N7
>
> hajasw{([at]})nowhere.xy
>
> (250)756-7367
>
>
>
>

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy


----boundary-LibPST-iamunique-1918604755_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIE9uIFdlZCwgMjEgTWFyIDIwMDcgSGFqYXNXQHBh
Yy5kZm8tbXBvLmdjLmNhIHdyb3RlOlxwYXINClxwYXINCj4gQW5kcmV3OlxwYXINCj5ccGFyDQo+
IFRoZSBiaWdn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NpZmlj
IEJpb2xvZ2ljYWwgU3RhdGlvblxwYXINCj5ccGFyDQo+IDMxOTAgSGFtbW9uZCBCYXkgUm9hZFxw
YXINCj5ccGFyDQo+IE5hbmFpbW8sIEJDXHBhcg0KPlxwYXINCj4gQ2FuYWRhXHBhcg0KPlxwYXIN
Cj4gVjlUIDZON1xwYXINCj5ccGFyDQo+IGhhamFzd0BkZm8tbXBvLmdjLmNhIDxtYWlsdG86aGFq
YXN3QGRmby1tcG8uZ2MuY2E+XHBhcg0KPlxwYXINCj4gKDI1MCk3NTYtNzM2N1xwYXINCj5ccGFy
DQo+XHBhcg0KPlxwYXINCj5ccGFyDQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBz
dWJqZWN0IEhFTFAgb3IgVU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNofX0Act8GfNgf
d78gwA==


----boundary-LibPST-iamunique-1918604755_-_---
Received on Wed Mar 21 2007 - 17:15:14 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:43 UTC