Futurebasic/Language/Reference/pstr function

From Wikibooks, open books for an open world
< Futurebasic | Language | Reference
Jump to: navigation, search

Contents

[edit] PSTR$

[edit] PSTR$

[edit] function

[edit] Syntax

string$ = PSTR$(address&)

[edit] Description

This function returns the string which is located at the indicated address& in memory; address& must be a long-integer expression or a POINTER variable.

The data at address& should be a string in "Pascal format," which is the string format used by FB string variables and by MacOS Toolbox string parameters. In Pascal format, the first byte is interpreted as a number in the range 0 through 255 which indicates the length of the string's text; this length byte is immediately followed by the text of the string.

[edit] See Also

PSTR$ statement; STR#

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export