Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
I7: how to categorically narrate failure for multiple try statements in a row?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ron Newcomb  
View profile  
 More options Nov 15, 3:22 am
Newsgroups: rec.arts.int-fiction
From: Ron Newcomb <psc...@yahoo.com>
Date: Sun, 15 Nov 2009 00:22:32 -0800 (PST)
Local: Sun, Nov 15 2009 3:22 am
Subject: I7: how to categorically narrate failure for multiple try statements in a row?
Hi all, please tell me I'm missing something obvious here.  Given:

Instead of waiting:
    try the first stored action;
    try the second stored action.

..I would like to do something generic (i.e., not tied to what the
action actually is) when either or both of these fail.  The last one
is easy -- an Every Turn rule can capture it regardless whether it
succeeds or fails.  And I can capture the first one's success with an
After rule.  But how do I capture the first one's failure?   The After
rules won't run since it failed, the Every Turn won't run in-between
the Tries, Unsuccessful Attempt By won't run for anything not an NPC
request, and the Check and/or Instead rules are the ones deciding the
failure to begin with, and *they* are called from different rulebooks
themselves.

Where do failed actions go after an Instead or Check rule plonks
them?

-Ron


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Newcomb  
View profile  
 More options Nov 15, 3:39 am
Newsgroups: rec.arts.int-fiction
From: Ron Newcomb <psc...@yahoo.com>
Date: Sun, 15 Nov 2009 00:39:34 -0800 (PST)
Local: Sun, Nov 15 2009 3:39 am
Subject: Re: I7: how to categorically narrate failure for multiple try statements in a row?
On Nov 15, 12:22 am, Ron Newcomb <psc...@yahoo.com> wrote:

Nevermind.  I found it.

Instead of waiting:
    try the first stored action;
        if the rule failed, say "FAILED.";
        if the rule succeeded, say "SUCCEEDED.";
    try the second stored action.
        if the rule failed, say "FAILED.";
        if the rule succeeded, say "SUCCEEDED.";

Duh.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google