AnsweredAssumed Answered

vrf Resolution about scalar vs 1 element array

Question asked by SteveE on Dec 14, 2005
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7232.46"><TITLE>Resolution about scalar vs 1 element array</TITLE></HEAD><BODY><!-- Converted from text/rtf format --><P><FONT SIZE=2 FACE="Arial">Thank you all to the people that suggested solutions to my dilemma about determining whether the input to my routine was a text scalar or a text 1 element array (or a multi element 1D array).  I really didn't "need" to know which form the data was. I only needed to convert whatever form it was into a 1D array. My initial attempt at coding it needed to know what form it was to process it into a 1D array.</FONT> <FONT SIZE=2 FACE="MS PGothic">FUKUI Yutaka</FONT><FONT SIZE=2 FACE="Arial"> provided the simplest answer, although it doesn't determine the data form it ultimately did what I really needed to do. His suggestion was to simply use a collector object and set the output form to 1D array. I have used collectors constantly in my code but I didn't realize that you could open it up and set the output type, so his suggestion was a revelation to me. It allowed me to replace a relatively complex bit of code with a text constant and a collector. Thanks</FONT> <FONT SIZE=2 FACE="MS PGothic">FUKUI</FONT><FONT SIZE=2 FACE="Arial"> !  Makes me wonder what other "hidden" capabilities the common objects I use have, I'll have to open them all up and see.</FONT></P><P><FONT SIZE=2 FACE="Arial">Thanks Again,</FONT><BR><FONT SIZE=2 FACE="Arial">Steve Estrin</FONT><BR><FONT SIZE=2 FACE="Arial">Sr. Test Engineer</FONT><BR><FONT SIZE=2 FACE="Arial">M/A-COM San Jose</FONT></P><BR>---<BR>You are currently subscribed to vrf as:<BR>To subscribe send a blank email to "".<BR>To unsubscribe send a blank email to "".<BR>To send messages to this mailing list,  email "".  <BR>If you need help with the mailing list send a message to "".<BR>Search the "unofficial vrf archive" at "".</BODY></HTML>