johndoh!!
03-07-2002, 12:56 PM
Is it possible to include more than one value in the OpenArgs without having to parse the one variable into many?
|
View Full Version : Multiple OpenArgs, is it possible? johndoh!! 03-07-2002, 12:56 PM Is it possible to include more than one value in the OpenArgs without having to parse the one variable into many? Alexandre 03-07-2002, 03:57 PM From the moment you aggregate different values in a tag, you will have to parse the tag one way or another, to process your values. I know at least 3 ways to do: -Use a string tag made of an alphanumeric and a numeric part. This allows you to store values for two different variables, and easily extract them. -Use a string tag with regular delimiters, that can be parsed through string processing or the Split function. More suited for a variable that can take various values at the same time. -Use a bit tag that you can analyse using bit wise operations. Suited for various boolean(yes/no) variables. Alex [This message has been edited by Alexandre (edited 03-07-2002).] David Mack 03-07-2002, 11:55 PM You can also use binary values. With these, you can pass many parameters in one value. Kind of like a "poor man's array." Dave |