search for: process_sub_group

Displaying 1 result from an estimated 1 matches for "process_sub_group".

2005 Apr 14
0
Sd2Rd command (PR#7791)
...he \name{} tag is written to the output Rd file and nalias is given the value 1. This nalias is not used anywhere else in the subroutine which makes me think that the developers were trying to use nalias as a static variable and hoped it would retain the value of 1 for the next time the subroutine process_sub_group is called. Here is the code: sub process_sub_group{ my $topic = $_[0]; my $text = $_[1]; my $nalias = 0; my $example = 0; . . . if(!$nalias) { print "\\name{$text}\n"; $nalias = 1; $fun = $text; } print "\\alias{$text}\n"; . . . } I...