Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi,
I encountered a prob that didn't popup this morning:Code: Select all
static $executionType = TRUE;
function functionName(args)
{
[...]
//--------> Choose ExecutionType! <---------------------------------------------
global $executionType;
if($executionType==FALSE)
{
// Fake command execution for test and debugging
$valueList = execFakeCommandLine($fakeReturnValue);
}
else
{
// Real command execution
$valueList = execCommandLine($commandLine);
}
//--------
[...]
}feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]