Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== GetNetworkType subroutine ====== ==== Description ==== Returns the current network driver type of the OpenInsight System. ==== Syntax ==== **GetNetworkType**(NetworkType,NetworkTypeLen) ==== Parameters ==== ^Parameter^Description^ |NetworkType|A null string. This string should be large enough to contain the return value. If the string is not large enough the driver type will be truncated on return. This parameter will contain the return value after execution of the subroutine.| |NetworkTypeLen|The length of the string to be passed.| ==== Returns ==== A null terminated string of the current network driver in use. ==== Example ==== <code> /* after the call to GetNetworkType(), NetworkType will be assigned the name of the current driver */ declare subroutine GetNetworkType NetworkType = str(\00\,99) ;* a null string GetNetworkType(NetworkType, len(NetworkType)) ;* execute the function NetworkType = NetworkType[1,\00\] ;* NetworkType will contain the driver. </code> guides/programming/programmers_reference_manual/getnetworktype.txt Last modified: 2024/06/19 20:20by 127.0.0.1