IB Statements/GetFormat

From CometWiki

(Difference between revisions)
Jump to: navigation, search
Badge (Talk | contribs)
(New page: GetFormat Syntax: GetFormat format-statement-label string$ Discussion: The GetFormat statement distributes one string amongst the contents of all variables in a FORMAT. Example: Leng...)
Newer edit →

Revision as of 00:55, 20 May 2009

GetFormat Syntax: GetFormat format-statement-label string$ Discussion: The GetFormat statement distributes one string amongst the contents of all variables in a FORMAT. Example:

Length 10 & local a$,b$ MyFormat: FORMAT a$;b$


GetFormat MyFormat MyString$ Following the GetFormat, a$ would contain the first 10 bytes of MyString$ and b$ would contain the next 10 bytes.

See also SetFormat

This statement was introduced with Comet32.

Personal tools