Re: return value

Chris Babcock <[email protected]>
Newsgroups gmane.mail.spam.crm114
Organization Kolonel Panic
Message-ID <[email protected]>
On Sun, 22 Mar 2009 21:33:26 +0100
Thomas Michael Hagen <[email protected]> wrote:

> in vanilla crm, i can specify a return value by saying
> 
> return /var-expanded return-regex/
> 
> but this does not seem to be possible in gerh-builds.
> 
> 
> this is my code:
> 
> 	isolate (:user-feedback:)
> 	input <byline> [stdin] (:user-feedback:)
> 	return /:*:user-feedback:/

I'm using 20080630-BlameVT-Ger and this worked:

[usak@cl-t090-563cl bin]$ ./input.crm
I'm being eaten by a boa constrictor.
I'm being eaten by a boa constrictor.
[usak@cl-t090-563cl bin]$ cat ./input.crm
#!/usr/local/bin/crm
# input.crm - Input test
window
call /:blocker:/
output /:*:user-feedback:/
exit

        :blocker:
        isolate (:user-feedback:) //
        input <byline> [stdin] (:user-feedback:)
        return /:*:user-feedback:/

Are you using BlameBarack? What does the call look like?

BTW, thanks for this question. I've been trying to get <byline>
behavior out of syscall and now I know how to do it.

Chris

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________
Crm114-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crm114-general
signature.asc (application/pgp-signature, 489 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBAgAGBQJJxrJnAAoJEASgqNsqZfCHx8AH/Ats1q+RcjEZiETFIhnsxTWU
0vzUkXUBjQByQBGPfYRzN7Gi2FnQ307mbUSyX1jiXOAUNh79rcDfnIsDhos6U991
11+ThT2pQzj1N+vYILVqTNy/6tLI8/jzBm8c/RGzepRHydfCFheXJQ9K5lOhVZSd
zCT+Kb2Z8WTe5Q5PIyb+6BrNRKJIw/88bgwGJ3tTybhBLh23vbkGmqtOlS3rr/jD
7omgp0bBLOYqOL8jzPop78rWTKh/GNf2GA0cDAQvfyIXBnN44VeCcdoVxSEIOdIx
6XT8cZ3xVaiZBSUJSqkxBhA2z8bcCGPOW+bhVS8h04nAGhTZ0pv9xajVpx2U6WY=
=ArYR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.