When I am converting code from one language to another (which I thankfully don't need to do now - that was a student job I had back in 1993 - converting ForTran to C, what a mistake!), it's more important to know what it is doing (conceptually) than knowing how to convert.

What I mean is that I tried to convert ForTran to C. I would write C code that did exactly the same as what the ForTran code did. I did that for exactly one program. The rest of the conversions were done by figuring out what the input was, what the output was, and then rewriting (from scratch) everything in between. When I left that job, the only program that wasn't working was the first one. Everything else was working fine when I graduated from university (1997) and went back to thank my former manager for what I learned there.

The only exception was when I went back to look at the original code was when I couldn't figure out a mathematical formula - math is picky like that ;-)

Short version: what is a WSF file? What is your input, what is your output?


In reply to Re: Converting VBScript to PerlScipt by Tanktalus
in thread Converting VBScript to PerlScipt by Nesh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.