Subject:
|
Re: Noting gaps in parts sequences
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Mon, 22 Feb 1999 21:23:32 GMT
|
Viewed:
|
1548 times
|
| |
| |
In lugnet.cad.dev, lehman@javanet.com (Todd Lehman) writes:
> [...]
> for my $I (0..$#letters)
> {
> print "1 16 @{[$I*20]} 0 0 1 0 0 0 1 0 0 0 1 $letters[$I].dat\n";
> }
> [...]
Garrgh! Monkey-florkin spelling checker always converts 'I' to 'I' and won't
let me fix it! >%^(
--Todd
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: Noting gaps in parts sequences [DAT]
|
| (...) Cool -- that's a neat and extremely low-effort way to get labels! Here's one way to write the program in Perl (also handling spaces and Æ=>AE): $ cat datstart #!/usr/local/bin/perl5 -w my %brick = ( ' ' => "3005", 'Æ' => "3005-AE", map {$_ => (...) (26 years ago, 22-Feb-99, to lugnet.cad.dev)
|
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|