in reply to Re^6: Help Please: FCS Binary 2 ASCII conversion
in thread Help Please: FCS Binary 2 ASCII conversion

Again, you forgot the <code></code> tags. Once more and I stop reading your posts.

What output does the program list for "\$BYTEORD" => ??? on your machine?

What hardware are you running on?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy

Replies are listed 'Best First'.
Re^8: Help Please: FCS Binary 2 ASCII conversion
by david_lyon (Sexton) on Apr 13, 2010 at 04:11 UTC
    sorry about missing the code tags "\$BEGINANALYSIS" => 0, "\$BEGINDATA" => 1794, "\$BEGINSTEXT" => 0, "\$BYTEORD" => "4,3,2,1", "\$DATATYPE" => "F", "\$ENDANALYSIS" => 0, "\$ENDDATA" => "441793 ", "\$ENDSTEXT" => 0, "\$FIL" => "4031.fcs", "\$INST" => " ", "\$MODE" => "L", I am running Linux memory 1.9 GiB 2 CPU Intel(R) core(TM)2 Duo CPU

      Hm. Same file format. Same hardware. Different result. That leaves your perl version.

      I think maybe the endian formats '>' & '<' didn't get into Perl until 5.10, so if you're running 5.8 that could explain the different results. But...are you getting any error messages?


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.