Home >  Term: self-relative address
self-relative address

In computer programming, a partial computer address that uses the base address of the computer program, in which it appears, as the ellipsed component of the partial address. Note 1: A program that uses self-relative addresses will be portable, in that all related programs and subroutines can be moved, together, to a different computer or subdirectory, and all components will still be accessible. Note 2: An example would be a Web page with a complete address of http://www. Example. Com/menu. Html. If that page links to another page, at that same website, with the complete address of http://www. Example. Com/index. Html, that link could be written as a self-relative address, as index. Html. A browser, reading this link, would "assume" that the complete address of that page must include the base address of the first page (i.e., http:///www. Example. Com/. )

0 0

Creator

  • KeithC3
  •  (Diamond) 7429 points
  • 100% positive feedback
© 2024 CSOFT International, Ltd.