bry boschan procedure

Use this forum to post complete RATS "procedures". Please be sure to include instructions on using the procedure and detailed references where applicable.
terrya
Posts: 41
Joined: Mon Aug 24, 2009 6:05 pm

bry boschan procedure

Unread post by terrya »

Using your example files, I got the following error message:

CP24. PROCEDURE/FUNCTION BRYBOSCHAN compiled with errors. Please correct
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: bry boschan procedure

Unread post by TomDoan »

Seems to work fine. Did you make any changes to it? The bryboschan.src that comes with 9.2 is current and seems to work fine on RATS versions going back quite a ways.
terrya
Posts: 41
Joined: Mon Aug 24, 2009 6:05 pm

Re: bry boschan procedure

Unread post by terrya »

I didn't make any changes to your example programmes and I'm using 9.2 so it's a mystery. I'll try again later and see what happens.
terrya
Posts: 41
Joined: Mon Aug 24, 2009 6:05 pm

Re: bry boschan procedure

Unread post by terrya »

Just tried again. The snippet I tried to run was:
open data watsonaer.rat
cal(m) 1947
data(format=rats) 1947:1 1990:12 ip fycp fspcomr
*
log ip
@BryBoschan(print=all) ip 1947:1 1990:12

The error message in full:
## SX23. Expected Variable/Element of Type REAL, Got Expression Instead
>>>>%valid(x)>>missing<<<<
## CP24. PROCEDURE/FUNCTION BRYBOSCHAN compiled with errors. Please correct

Should the log ip be log(ip)? Tried it, didn't work.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: bry boschan procedure

Unread post by TomDoan »

No. log ip is fine---it's a short cut for converting to logs.

Somehow you're getting an incorrect procedure. Make sure that your procedure directory is pointing to the version 9.2 procedures (and not beta tests or an earlier version). The @BryBoschan.src file should be from May.
terrya
Posts: 41
Joined: Mon Aug 24, 2009 6:05 pm

Re: bry boschan procedure

Unread post by terrya »

Thanks. I just got the latest version and tried it - it worked. Should have thought of this first.
Post Reply