<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Indeed, Peti, you are correct… Thanks for the reminder. In fact, this makes a perfect sense :-)<div class=""><br class=""></div><div class="">Kind regards</div><div class=""><br class=""></div><div class="">V/<br class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 19 Oct 2019, at 19:00, Peti Gömöri <<a href="mailto:gomoripeti@gmail.com" class="">gomoripeti@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">hi Valentin,</div><div class=""><br class=""></div><div class="">Maybe you remember the case when Offset was bound within the binary?</div><div class=""><<Offset, _:Offset/binary, Value/binary>></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 19, 2019 at 8:39 AM Valentin Micic <<a href="mailto:v@micic.co.za" class="">v@micic.co.za</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">My sincere apology if this has been discussed before…<div class="">I vaguely remember that a number of years ago, one was able to write something like this:</div><div class=""><br class=""></div><div class=""><i class=""><font face="Courier" class="">some_function( Offset, <<_:Offset/binary-unit:8, Value/binary>> ) -> …</font></i></div><div class=""><br class=""></div><div class="">without (Erlang R21.1) compiler complaining with: <i style="font-family:Courier" class="">variable Offset unbound</i></div><div class=""><br class=""></div><div class="">Was I dreaming? </div><div class=""><br class=""></div><div class="">Thanks in advance</div><div class=""><br class=""></div><div class="">V/</div><div class=""><br class=""></div></div>_______________________________________________<br class="">
erlang-questions mailing list<br class="">
<a href="mailto:erlang-questions@erlang.org" target="_blank" class="">erlang-questions@erlang.org</a><br class="">
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank" class="">http://erlang.org/mailman/listinfo/erlang-questions</a><br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></div></body></html>