in reply to Re: I have Wma file jammed in my regex
in thread I have Wma file jammed in my regex

OzzyOsbourne wrote:
I tried to find out what pseudo code was, but I think that that may have been some sort of insult.
Pseudo-code is an informal "shorthand" method of designing a program. If you look in this post, you'll see two code samples, neither of which is code. The first is a primitive Warnier-Orr design and the second is a pseudo-code representation of a program of similar functionality. It's not an insult. Pseudo-code may be quite rigorous and strongly resemble the language that you plan to code in, or it may be very similar to natural language.
while I read next line from file if line contains extension listed in my extension list write line to output file add one to lines copied else write line to error report add one to error count end if end while
The above is a snippet of pseudo code that anyone who programs should be able to read. It's an easy way to understand your logic. After the pseudo-code is written, it's just a matter of translating to the finished output (preferably Perl :-)

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

  • Comment on (Ovid - Pseudo code. OT) Re(2): I have Wma file jammed in my regex
  • Download Code