varserverini: PROCEDURE EXPOSE dict$.
IF EXISTS('dict$.init')=1 THEN RETURN
primdir=DIRECTORY()
dict$.variable_name.1='cities'
dict$.variable_dir.1=primdir'\Varpool\'
dict$.variable_text.1='Cities>1 Million'
dict$.variable_name.2='countries'
dict$.variable_dir.2=primdir'\Varpool\'
dict$.variable_text.2='countries'
dict$.variable_name.0=2
dict$.partsize=2500
dict$.trfrom=":/\'()"
dict$.trto= "#{}%<>"
CALL internal
RETURN
internal:
lp=LASTPOS('\',primdir)
IF lp>0 THEN ddname=SUBSTR(primdir,lp+1)
dict$.drive=SUBSTR(primdir,1,3)
dict$.trvarfrom='^ -+*/&äöüßÄÖÜ.'||dict$.trto||dict$.trfrom
dict$.trvarto=COPIES('_',LENGTH(dict$.trvarfrom))
dict$.dir=primdir
dict$.dict=ddname
dict$.init=1
dict$.exposestems='Dict$. mpout.'
DO i=1 TO dict$.variable_name.0
dict$.exposestems=dict$.exposestems' 'dict$.variable_name.i'.'
END
RETURN |