PCSPX ( Variables )
Rate this function: Average rating: 3.5 (8 votes) Discuss this Custom Function
Kevin Kurpe, (Independent)
www.YourProponent.com
Test the contents of script parameter.
Sample Input:
Example 1
SP = "Create, Customer, Record"
PCSPX ("Create, Customer, Record")
Example 2
SP = "132 Select, Customer, Record"
Case (
PCSPX ("Select, Customer, Record") ; "Select" ; "Error" ) |
|
Sample Output:
|
Description:
This custom function allows you to test the script parameter for multiple values. I usually use this custom function to trigger certain portions of a script. For example, when a script is separated by IFs and ELSEIFs I can send a script parameter to the script that triggers the first portion of the script, but not the second or third. I have found it to be extremely helpful when working with scripts!
NOTE: This custom function is DEPENDENT ON MY OTHER CUSTOM FUNCTION: PCSP. To use this custom function, you must also have the other.
Kevin Kurpe
Kevin@YourProponent.com
(727) 871-3092
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:
|
Newest Custom Functions:
| 1. |
CountWordOccurrences ( text ; searchWord ) |
| |
(Tue, Feb 07, 11:15am) |
| 2. |
indonesian_date(date) |
| |
(Mon, Feb 06, 7:14pm) |
| 3. |
phpArrayValue ( array ; key ; pos ) |
| |
(Fri, Jan 27, 1:49pm) |
| 4. |
solfm_timeToMinutes (theTime;roundSec) |
| |
(Fri, Jan 20, 6:26am) |
| 5. |
filterLines(filterField;filterValue;Result) |
| |
(Sat, Jan 14, 2:20pm) |
| 6. |
getMaxValue ( theList ) |
| |
(Thu, Jan 12, 1:06pm) |
| 7. |
MiddleWordsIncPunct ( text ; startingWord ; numberOfWords ) |
| |
(Sat, Jan 07, 9:16am) |
| 8. |
WindowInfo |
| |
(Fri, Jan 06, 12:39pm) |
 |
|