I have created a routine and am trying to use it in within a Nested Condition. My Expression Type is Custom - (Conditional). Within the Expression field I have something like - RoutineName ("parameter") = 1. When I compile, I get - Array 'RoutineName' never dimensioned. What does this mean? RoutineName is not an array. How can I correctly call my routine?
thx - John
Error Compiling Job Control Subroutine
Moderators: chulett, rschirm, roy
This is because functions need to be pre-declared in programs using the DEFFUN declaration.
In your case the solution is simple, create a routine activity stage and call up your function, then in the Nested Condition use the value Your_Routine_Activity.$ReturnValue" for your comparision.
In your case the solution is simple, create a routine activity stage and call up your function, then in the Nested Condition use the value Your_Routine_Activity.$ReturnValue" for your comparision.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Charter Member
- Posts: 166
- Joined: Wed Mar 16, 2005 6:52 am
- Location: Mumbai, India
If you are using Version 7.5, you don't need the nested condition stage. The routine stage supports conditional triggers based on returnvalue.
Amey Vaidya<i>
I am rarely happier than when spending an entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand.</i>
<i>- Douglas Adams</i>
I am rarely happier than when spending an entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand.</i>
<i>- Douglas Adams</i>
Got it working
Got it working; thanks to all for helping this newbie out.
- John
- John
Subroutine call from trigger ?
So, it isn't possible to call routine from DS 7.5.x Sequence/Job Activity trigger ?
The call succees from Routine Activity only ?
When a call is made from trigger every compiling throws like
Array 'WeekTag' never dimensioned.
1 Errors detected, No Object Code Produced.
The call succees from Routine Activity only ?
When a call is made from trigger every compiling throws like
Array 'WeekTag' never dimensioned.
1 Errors detected, No Object Code Produced.
Isonisak,
that's correct.
that's correct.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>