Talk:String (computer science): Difference between revisions

Content deleted Content added
SineBot (talk | contribs)
m Signing comment by 80.64.189.57 - "added question regarding string representations on Siemens PLCs"
m wasn't logged in and forgot signature
Line 142:
 
=== Another length prefixed representation ===
Siemens PLCs use a form of length prefixed string representation with 2 length information bytes (see [https://cache.industry.siemens.com/dl/files/480/22506480/att_105176/v1/s7_scl_string_parameterzuweisung_e.pdf Siemens Docs "Working with Strings in S7-SCL"]). Maximum reserved memory is 256 bytes with maximum 254 bytes of actual text, where one byte denotes the allocated/reserved range for the string (the maximum count of characters allowed to be represented) and the other byte denotes the actual, currently valid length of the string. Maybe this could be added as length prefixed representation variant? <!-- Template:Unsigned IP --><small class="autosigned">—&nbsp;Preceding [[WikipediaUser:SignaturesCkonnerth|unsigned]] comment added by [[Special:Contributions/80.64.189.57|80.64.189.57Ckonnerth]] ([[User talk:80.64.189.57#topCkonnerth|talk]]) 17:1418, 15 December 2017 (UTC)</small> <!--Autosigned by SineBot-->