Thanks for your reply and thanks for correcting me. Since I am new to this forum, I do not yet knw how to best ask my questions.. I will break my problems down for you:
-My first question relates to the error reports I get when I run my script. It states that there is an Error using instargbondmod (line 119) Settle must be less than Maturity for all Bonds. However, I do not use this formula in mij script. Considering that this formula checks if some prerequisite are met for using one of the functions in my script, I assume that this instartbondmod formula is used as some kind of verification. I would like to konwo if this is true, and if it is true, I would like to know how I can tell in advance (i.e. before running the script) what verifacation formulae will be run (so I prevent error reprts such as this one)
-I would also like to know how I can best address the error reports I get. For example, running the script results in this error:
Error in date2time (line 105) Tsemi = semitimes(Settle, Dates, 0, Basis, EndMonthRule);
How can I interpret this error? And again: this error does not refer to a function I have included in my script. How can I tell what actually goes wrong in my script that results in this error (so I can prevent this)?