Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » Прикладное программирование » Вопросы программирования на FORTRAN (ФОРТРАН)

Модерирует : ShIvADeSt

 Версия для печати • ПодписатьсяДобавить в закладки
На первую страницук этому сообщениюк последнему сообщению

Открыть новую тему     Написать ответ в эту тему

Igorr

Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
LEN_TRIM
 
Elemental Intrinsic Function (Generic): Returns the length of the character argument without counting trailing blank characters.  
 
Syntax  
 
result = LEN_TRIM (string [, kind])
 
string  
(Input) Must be of type character.  
 
kind  
(Optional; input) Must be a scalar integer initialization expression.  
Results:  
 
The result is a scalar of type integer. If kind is present, the kind parameter of the result is that specified by kind; otherwise, the kind parameter of the result is that of default integer. If the processor cannot represent the result value in the kind of the result, the result is undefined.  
 
The result has a value equal to the number of characters remaining after any trailing blanks in string are removed. If the argument contains only blank characters, the result is zero.  
 
Compatibility  
 
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB  
 
See Also: LEN, LNBLNK
 
Examples  
 
In these examples, the symbol - represents a blank.
 
LEN_TRIM ('---C--D---') has the value 7.
 
LEN_TRIM ('-----') has the value 0.
 
The following shows another example:
 
INTEGER LEN1
LEN1 = LEN_TRIM (' GOOD DAY ') ! returns 9
LEN1 = LEN_TRIM (' ')          ! returns 0

Всего записей: 2003 | Зарегистр. 01-05-2002 | Отправлено: 00:03 27-05-2010
Открыть новую тему     Написать ответ в эту тему

На первую страницук этому сообщениюк последнему сообщению

Компьютерный форум Ru.Board » Компьютеры » Прикладное программирование » Вопросы программирования на FORTRAN (ФОРТРАН)


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru