RE: Syntax for an event loop

2004-03-18 Thread Tom Kitta
I know I did dynamic function naming some time ago, it works fine, I think
syntax was:



For passing arguments:


"(#arg1_variable#,arg2_as_number,'arg3_as_text')")>
OR

",arg2_as_number,'arg3_as_text')")>

TK
  -Original Message-
  From: Lee Flier [mailto:[EMAIL PROTECTED]
  Sent: Thursday, March 18, 2004 12:54 PM
  To: CF-Talk
  Subject: Syntax for an event loop

  Hey all,

  I'm setting up an event loop for processing a series of functions.  Each
  function will return the name of the next function to run, depending
  what happens during the function.  I'm trying to figure how I would set
  up the syntax for this.  Should the following work or do I need to do
  something else?

    

 
  
  current_event = #current_event#()
 

    

    
    ...
  
    

   and so on...

  
    ...
  
    
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Syntax for an event loop

2004-03-19 Thread Sparrow-Hood, Walter
I'm doing essentially the same thing in my code - does anybody know how to
do this without using the 'despised' Evaluate?

Walt

 -Original Message-
From: 	Tom Kitta [mailto:[EMAIL PROTECTED] 
Sent:	Thursday, March 18, 2004 1:15 PM
To:	CF-Talk
Subject:	RE: Syntax for an event loop

I know I did dynamic function naming some time ago, it works fine, I think
syntax was:



For passing arguments:


"(#arg1_variable#,arg2_as_number,'arg3_as_text')")>
OR

",arg2_as_number,'arg3_as_text')")>

TK
  -Original Message-
  From: Lee Flier [mailto:[EMAIL PROTECTED]
  Sent: Thursday, March 18, 2004 12:54 PM
  To: CF-Talk
  Subject: Syntax for an event loop

  Hey all,

  I'm setting up an event loop for processing a series of functions.  Each
  function will return the name of the next function to run, depending
  what happens during the function.  I'm trying to figure how I would set
  up the syntax for this.  Should the following work or do I need to do
  something else?

    

 
  
  current_event = #current_event#()
 

    

    
    ...
  
    

   and so on...

  
    ...
  
    
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Syntax for an event loop

2004-03-19 Thread Raymond Camden
You can also do this (assuming foo is a udf):



#x()#

If you want to dynamically pass attributes, just use argumentCollection.





 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]