PRODUCT |

|

|
|

|
|
|
|
|
FAQ |
|

|
|
|
|
|
|
LEARN SCRIPTING |
|

|
|
|
|
|
|
|
|
|
|
SAMPLE SCRIPTS |
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
HELP / DOCUMENTATION |
|

|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
Help Page - getLN
( Some help pages may not display correctly in html because those help pages may have sample code in them, part of which may be mis-interpreted as html tags.
All help pages, including this help page, are available in biterScripting with the help command. )
|
|
Function
getLN
Purpose
Gets the license number and other license information for current installation.
Return Type
string
Syntax
getLN()
Arguments
None.
Return Value
A string value representing license and other license information.
Stream Input
Streams apply to commands and not to functions.
Stream Output
Streams apply to commands and not to functions.
Stream Error
Streams apply to commands and not to functions, although any errors
will be written here.
Description
The returned string contains the following values, in the following order.
License Number
License Type
License Start Time
License End Time
These values are separated by tabs.
The license start and end times are in yyyymmddHHMMss format. See the help page for gettime
for more details on the time format.
If a license has not been applied to the current installation, or if the current installation
is running under Free Trial, the returned string is empty.
Restrictions
None.
Valid Examples
echo getLN()
Will return an output of following form.
ACADEMIC109871 Single Computer 20120101000001 20121231235959
This indicates that the license number is ACADEMIC109871, it is a single computer license, and
it is valid from January 1, 2012, 00:00:01 (AM) to December 31, 2012, 23:59:59 (PM).
wex "l" getLN()
will return the last word (note, in double quotes is the lower case letter Ell-l)
which is the license end time.
A more sophisticated command such as
echo difftime( time1( { wex "l" getLN() } ) )
will return a time difference string of form 160120818, indicating that there are
160 days, 12 hours, 08 minutes and 18 seconds until the license end time.
Invalid Examples
echo getLN
Will produce error. Function calls must have parentheses, even if there are no
input arguments. In case there are no input arguments, use (), as follows.
echo getLN()
See Also
getSN
getcomputer
gettime
wex
difftime
|
|
© 2008-2013, biterScripting.com. All rights reserved.
biterScripting, biterScript, biterBrowser, biterMobile, biterScripting.com, FVA (Forward Variable Assignment) are trademarks of biterScripting.com. Is it biterScripting-compatible ? is a service mark of biterScripting.com.
Explorer, Unix, Windows are trademarks, service marks or other forms of intellectual property of their respective owners.
|
|