<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The BEAM format number and the number of the highest opcode are stored in the code chunk:<br><a href="https://github.com/erlang/otp/blob/master/erts/emulator/beam/beam_load.c#L1714-L1757">https://github.com/erlang/otp/blob/master/erts/emulator/beam/beam_load.c#L1714-L1757</a><br><br>-Constantin<div><br></div><div><br><div><div>Am 28.02.2016 um 12:53 schrieb Vlad Dumitrescu:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi!<div><br></div><div>Is there some information in the beam files that would identify the compatibility with the current runtime, or is it only when trying to execute incompatible code that it is detected?</div><div><br></div><div>best regards, </div><div>Vlad</div><div><br></div></div>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote></div><br></div></body></html>