Back to Blog
Back to Blog
Vugen: strcmp Example
Posted on Jul, 2012 by Admin
I was asked to post a simple strcmp example for use in Vugen scripting. Here it is:
if (strcmp(lr_eval_string("{pParameter}"), "") == 0)
{
lr_error_message("No parameter value captured. Ending iteration.");
return 0;
}
else{
lr_output_message("The parameter value is %s",
lr_eval_string("{pParameter}"));
};
Anyone care to elaborate in the comments section as to what this code is doing?