Chapter Contents |
Previous |
Next |
LNAMEMK |
Category: | Image |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
path-string=LNAMEMK(type,<name-string1<,name-string2><,attributes>>); |
Type: Character
Type: Numeric
For type | use name-string1 | and name-string2 |
1 | physical-pathname | |
2 | directory-pathname | filename |
3 | fileref | |
4 | fileref | filename |
5 | libref.catalog.member |
Type: Character
Type: Character
Details |
LNAMEMK creates a character variable that contains information about the location of the image as well as other image attributes.
The path string can be used with the READ and WRITE commands in IMGOP or with the image object. The path string contains binary data and can be decoded only with the LNAMEGET and LNAMECHK functions.
Example |
Create path strings for image files:
length file $ 200; file=lnamemk(1,filename,'format=gif'); file=lnamemk(2,directory,filename,'format=gif'); file=lnamemk(3,fileref,'format=gif'); file=lnamemk(4,fileref,filename,'format=gif'); imgentry=libref||"."||catalog||"."||member; file=lnamemk(5,imgentry,'format=cat');
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.