LumpReadString

Revision as of 20:44, 9 July 2023 by DrinkyBird (talk | contribs) (Created page with "{{ACSWarning}} {{DevfeatureWarning|version=3.2|type=an ACS function}} {{stub}} int '''LumpReadString''' (int ''lump'', int ''pos'') {{Devfeature|3.2|alpha}} ==Usage== Reads a string from a lump, stopping upon encountering a null terminator or the end of the lump. ===Parameters=== * ''lump'': The lump index as returned from <tt>LumpOpen</tt>. * ''pos'': The byte position in the lump to start reading the string from. ===Return value=== Returns the string that w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.
This article documents an ACS function which is only available in development builds of Zandronum 3.2 and newer.
This article or section is a stub. You can help the Zandronum wiki by adding to it.

int LumpReadString (int lump, int pos) (development version 3.2-alpha and above only)

Usage

Reads a string from a lump, stopping upon encountering a null terminator or the end of the lump.

Parameters

  • lump: The lump index as returned from LumpOpen.
  • pos: The byte position in the lump to start reading the string from.

Return value

Returns the string that was read.

Examples

This article lists no examples, please add one.