EasyLAN User’s Guide
83
Chapter 6 — Advanced Confi guration
Th
e example yields the following when run:
time=UNKNOWN LABEL=321 DESCRIPTION=DEF
time=153355
GETASSOCNAME$
GETASSOCNAME$ is a function for traversing the tuples of a string
association.
Syntax:
GETASSOCNAME$(<sexp>,<nexp>)
<sexp>
is the association to be traversed (case-sensitive).
<nexp> specifi es the tuple in the association.
<nexp>
=
0 specifi es fi rst tuple.
<nexp>
≠
0 specifi es next tuple.
An association is an array of tuples, where each tuple consists of a name
and a value. To get the fi rst position in the string association, <nexp>
should be zero. Consecutive calls to GETASSOCNAME$ witn <nexp>
non zero will traverse all variables in an undefi ned order. When a blank
string ("") is returned, the last variable has been traversed.
Th
is example shows how “QARRAY" is traversed (run example from
GETASSOC fi rst):
10 LVAL$=GETASSOCNAME$("QARRAY",0)
20 WHILE LVAL$<>""
30 RVAL$=GETASSOC$("QARRAY",LVAL$)
40 PRINT LVAL$;"=";RVAL$
50 LVAL$=GETASSOCNAME$("QARRAY",1)
60 WEND
Th
e example yields the following when run:
label=321
desc=DEF
time=153355
MAKEASSOC
MAKEASSOC is used to create associations.
Syntax:
MAKEASSOC <sexp1>,<sexp2>,<sexp3>
<sexp
1
> specifi es the name of the association to be created (case-
sensitive).
<sexp
2
> contains an argument list of parameter tuples according
to the convention in <sexp
3
>.
Summary of Contents for EasyLAN 100E
Page 1: ...EasyLAN User s Guide ...
Page 4: ...iv EasyLAN User s Guide ...
Page 9: ...EasyLAN User s Guide ix Contents A Glossary 97 B Technical Specifications 103 ...
Page 10: ...x EasyLAN User s Guide Before You Begin ...
Page 14: ...xiv EasyLAN User s Guide Before You Begin ...
Page 32: ...18 EasyLAN User s Guide Chapter 2 Setting Up the Printer in Windows 5 Click Close ...
Page 38: ...24 EasyLAN User s Guide Chapter 2 Setting Up the Printer in Windows ...
Page 70: ...56 EasyLAN User s Guide Chapter 4 Using the EasyLAN Web Browser Interface ...
Page 117: ...EasyLAN User s Guide 103 B Technical Specifications ...
Page 120: ...106 EasyLAN User s Guide Appendix B Technical Specifications ...