You lost me. My old procedure would generate a 

-----Original Message-----
From: Tracy Pearson [mailto:[email protected]] 
Sent: Friday, June 22, 2012 2:55 PM
To: [email protected]
Subject: RE: fuzzy on return

Richard Kaye wrote on 2012-06-22: 
>  Does CALLRemote return a value? If so, you might be able to do something
like this:
>  
>  PRIVATE returnValue
>  DO c:\alldat2\programs\CALLRemote WITH 'c:\alldat\irctrl\amp-volup.ir'
TO returnValue
>  IF returnValue
>       REPLACE mediaindex.volume WITH mediaindex.volume -0.5
>  ELSE
>       MESSAGEBOX([I'm too busy to change the volume now.])
>  ENDIF
>  
>  --
>  rk
>  

Gary and Richard,

The DO {program} doesn't have a TO clause.
DO FORM ... does.

If the procedure is in a prg file, you'll need to SET PROCEDURE TO
{(relative|absolute)path\filename} ADDITIVE
Then you can call the procedure similar to how a GUI method is called.

SET PROCEDURE TO "c:\alldat2\programs\CALLRemote" ADDITIVE
Local returnValue
returnValue = CALLRemote('c:\alldat\irctrl\amp-volup.ir')

Tracy Pearson
PowerChurch Software






_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/A1BBDED2FDC840CA8E79AA8665EDEDF7@OwnerPC
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to