<doc>
  <legacy_id>1682</legacy_id>
  <name>relative</name>
  <type>keyword</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
    <synonym>rel</synonym>
  </synonyms>
  <classification>
    <category>Images &amp; Multimedia</category>
    <category>Files, Folders, &amp; Resources</category>
  </classification>
  <references>
    <command tag="move">move Command</command>
    <command tag="seek">seek Command</command>
    <function tag="globalLoc">globalLoc Function</function>
    <function tag="localLoc">localLoc Function</function>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Used with the <command tag="seek">seek</command> and <command tag="move">move</command> <glossary tag="command">command</glossary> to start the action at the current position.</summary>
  <examples>
    <example>seek to relative -20 in file "Input Date"</example>
    <example>move image "Butterfly" relative 10,-10 - 10 pixels right and up</example>
  </examples>
  <description>
    <p>Use the <b>relative</b> <glossary tag="keyword">keyword</glossary> with the <command tag="read from file">read from file</command> and <command tag="write to file">write to file</command> <glossary tag="command">commands</glossary> to move within a <keyword tag="file">file</keyword>, or with the <command tag="move">move</command> <glossary tag="command">command</glossary> to move a <keyword tag="control">control</keyword> relative to its current location.</p><p/><p><b>Comments:</b></p><p>When used with the <b>seek</b> <glossary tag="command">command</glossary>, the <b>relative</b> <glossary tag="keyword">keyword</glossary> indicates how far to move the current position. If the number is positive, the <command tag="seek">seek</command> <glossary tag="command">command</glossary> moves the current position by the specified number of <keyword tag="characters">characters</keyword> forward in the <keyword tag="file">file</keyword>. If the number is <glossary tag="negative">negative</glossary>, the current position is moved backward in the <keyword tag="file">file</keyword>.</p><p/><p>(The current position in a file is set by the most recent <b>read from file,</b> write to file, or <command tag="seek">seek</command> <glossary tag="command">command</glossary>. If none of these <glossary tag="command">commands</glossary> has been used on the <keyword tag="file">file</keyword> since it was opened, the current position is zero. The next <command tag="read from file">read from file</command> or <command tag="write to file">write to file</command> <glossary tag="command">command</glossary> starts from the new current position.)</p><p/><p>When used with the <b>move</b> <glossary tag="command">command</glossary>, the <b>relative</b> <glossary tag="keyword">keyword</glossary> indicates how many <property tag="pixels">pixels</property> to the right and down to move the <keyword tag="control">control</keyword>.</p>
  </description>
</doc>