Last change
on this file since 128 was
127,
checked in by pinsard, 18 years ago
|
improvements of Obsolete/*.pro header
|
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | ;------------------------------------------------------------ |
---|
2 | ;------------------------------------------------------------ |
---|
3 | ;------------------------------------------------------------ |
---|
4 | ;+ |
---|
5 | ; @file_comments |
---|
6 | ; use printps instead... |
---|
7 | ; |
---|
8 | ; @obsolete |
---|
9 | ; |
---|
10 | ; @param filename {in}{required} |
---|
11 | ; |
---|
12 | ; @keyword TRANS |
---|
13 | ; |
---|
14 | ; @keyword NB |
---|
15 | ; |
---|
16 | ; @uses printps |
---|
17 | ; |
---|
18 | ; @history |
---|
19 | ; June 2005: Sebastien Masson, english version |
---|
20 | ; |
---|
21 | ; @version $Id$ |
---|
22 | ; |
---|
23 | ;- |
---|
24 | ;------------------------------------------------------------ |
---|
25 | ;------------------------------------------------------------ |
---|
26 | ;------------------------------------------------------------ |
---|
27 | PRO imprime, filename, TRANS = trans, NB = nb |
---|
28 | ; |
---|
29 | ; this is working only with unix/linux/osX machines |
---|
30 | ; |
---|
31 | compile_opt idl2, strictarrsubs, obsolete |
---|
32 | ; |
---|
33 | thisOS = strupcase(strmid(!version.os_family, 0, 3)) |
---|
34 | CASE thisOS OF |
---|
35 | 'MAC':return |
---|
36 | 'WIN':return |
---|
37 | ELSE: |
---|
38 | ENDCASE |
---|
39 | ;------------------------------------------------------------ |
---|
40 | ; call printps |
---|
41 | ;------------------------------------------------------------ |
---|
42 | CASE N_PARAMS() OF |
---|
43 | 0:printps |
---|
44 | 1:printps, filename |
---|
45 | ELSE: BEGIN |
---|
46 | ras = report('imprime accept only one element: psfilename') |
---|
47 | return |
---|
48 | END |
---|
49 | ENDCASE |
---|
50 | ;------------------------------------------------------------ |
---|
51 | return |
---|
52 | END |
---|
53 | |
---|
54 | |
---|
Note: See
TracBrowser
for help on using the repository browser.