Debian Codegraph @

pgcompatbility.p

raw
1
2 ;# Single point routines provided for backwards compatability
3 ;# with old perl4 version of pgperl - note array routines
4 ;# can now be used directly, e.g.: pgpt(1,$x,$y,$symbol) etc.
5
6 sub pgerrb1 {
7 die 'Usage: &pgerrb1($dir,$x,$y,$e,$t)' if (scalar(@_)!=5);
8 local($dir,$x,$y,$e,$t) = @_;
9 pgerrb($dir,1,$x,$y,$e,$t);
10 }
11
12 sub pgerrx1 {
13 die 'Usage: &pgerrx1($x1,$x2,$y,$t)' if (scalar(@_)!=4);
14 local($x1,$x2,$y,$t) = @_;
15 pgerrx(1,$x1,$x2,$y,$t);
16 }
17
18 sub pgerry1 {
19 die 'Usage: &pgerry1($x,$y1,$y2,$t)' if (scalar(@_)!=4);
20 local($x,$y1,$y2,$t) = @_;
21 pgerry(1,$x,$y1,$y2,$t);
22 }
23
24 sub pgpoint1 {pgpt1(@_)}
25
26 sub pgpt1 {
27 die 'Usage: &pgpt1($xpts,$ypts,$symbol)' if (scalar(@_)!=3);
28 local($xpts,$ypts,$symbol) = @_;
29 pgpt(1,$xpts,$ypts,$symbol);
30 }
31
32
33 ;# Exit with OK status
34
35 1;
36