IPB

> Null-terminated Strings
Чат
Форум
Загрузка...
 

Language:
Русский
English

    Null-terminated Strings


What is a null-terminated string?

A null-terminated string consists of

  - a sequence of non-null characters followed by a NULL (#0) character.
  - an upper limit 65535 characters.

Using null-terminated strings

Null-terminated strings are stored as arrays of characters with a zero-based integer index type, like

 array[0..X] of Char

where X   = a positive non-zero integer.

This is called a zero-based character array.

The Extended Syntax compiler directive ($X ) must be enabled when you use the Strings unit in your program.

 
 К началу страницы 
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"