AnsweredAssumed Answered

vrf Fw: Batch runtime creation.

Question asked by jcmartin on Jul 13, 2003
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><XETA content="text/html; charset=iso-8859-9" http-equiv="Content-Type"><XETA content="MSHTML 6.00.2600.0" name="GENERATOR"><STYLE></STYLE><META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD><BODY bgColor=#ffffff><DIV><SPAN class=446200508-14072003><FONT face=Arial color=#0000ff size=2>Hi Andrew</FONT></SPAN></DIV><DIV><SPAN class=446200508-14072003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=446200508-14072003><FONT face=Arial color=#0000ff size=2>An other, quite elegant way, is to use the "Hide panel" function, if you "hide" the panel of a non existing function you will get an error (517), but if you "hide" the panel of an existing function, no matter if it has a panel or not, you will get a return value of "1".</FONT></SPAN></DIV><DIV><SPAN class=446200508-14072003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=446200508-14072003><FONT face=Arial color=#0000ff size=2>This way you don't need to "call" the function and wait for it to execute.</FONT></SPAN></DIV><DIV><SPAN class=446200508-14072003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=446200508-14072003><FONT face=Arial color=#0000ff size=2>B.R.</FONT></SPAN></DIV><DIV><SPAN class=446200508-14072003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=446200508-14072003><FONT face=Arial color=#0000ff size=2>Martin</FONT></SPAN></DIV><DIV><SPAN class=446200508-14072003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> ext Shaun Trussler [mailto:satrussl@axion.net]<BR><B>Sent:</B> Sunday, July 13, 2003 10:10 PM<BR><B>To:</B> VEE vrf<BR><B>Cc:</B> Trussler Shaun (NMP/Vancouver)<BR><B>Subject:</B> [vrf] TO check whether a function name exists or not.<BR><BR></FONT></DIV><FONT face=Arial><FONT size=-1>Hi vrf:</FONT></FONT><FONT face=Arial><FONT size=-1></FONT></FONT>  <BR><FONT face=Arial><FONT size=-1>Too easy. Just have look at the attachment. Maybe someone has a better solution but the first thing I</FONT></FONT> <BR><FONT face=Arial><FONT size=-1>thought is this.</FONT></FONT> <BR><FONT face=Arial><FONT size=-1></FONT></FONT> <FONT face=Arial><FONT size=-1>Bye.</FONT></FONT> <FONT face="Times New Roman"><FONT size=-1>Zafer SAVAS</FONT></FONT> <BR><FONT face="Times New Roman"><FONT size=-1>Test & Measurement Engineer</FONT></FONT> <BR><FONT face="Times New Roman"><FONT size=-1>Microwave and System Technologies Division</FONT></FONT> <BR><FONT face="Times New Roman"><FONT size=-1>Aselsan Inc. Ankara/TURKEY</FONT></FONT> <FONT face=Arial><FONT size=-1>===========================================</FONT></FONT><FONT face="Times New Roman"><FONT size=+0>Greetings all:</FONT></FONT><FONT face="Times New Roman"><FONT size=+0></FONT></FONT> <P><FONT face="Times New Roman"><FONT size=+0>Does anyone know of a way to check if a function exists before you call it. In other words,</FONT></FONT> <BR><FONT face="Times New Roman"><FONT size=+0>a VEE function that does something like exists("myFunction") - which would return a TRUE</FONT></FONT> <BR><FONT face="Times New Roman"><FONT size=+0>if the function exists, or a false if it does not. Alternatively, a function such as getFunctionNames()</FONT></FONT> <BR>- <FONT face="Times New Roman"><FONT size=+0>which would return a list/array of local and imported function names.</FONT></FONT><FONT face="Times New Roman"><FONT size=+0></FONT></FONT> <P><FONT face="Times New Roman"><FONT size=+0>Regards,</FONT></FONT> <BR><FONT face="Times New Roman"><FONT size=+0>Andrew Dennehy</FONT></FONT> </P>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".  <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</BODY></HTML>  

Outcomes