![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||||||||||||||
Program Icons
Downloads Get icon software and icon graphics! perfecticon.com Windows Icon Collections More than 99999 icon files. Low price & High quality. www.777icons.com Toolbar Icon Images Download thousands of toolbar and menu icons now! toolbar-icons.com Website Icons Search web icons. Download icon sets. perfect-icons.com |
Icon sizes: 256x256, 64x64, 48x48, 40x40, 32x32, 24x24, 20x20, 16x16 File formats: ICO, GIF, PNG, BMP ![]() ![]() ![]() ![]() Tags: iconater icons, girly icons layouts, brokenhearted icons, christina aguilera icons, ikuto iconsFor I: = 1 to Length (S) doB: = S I +B; Concatenation. Characters of string S ????? to Variable B at the left. It will appear the most left last. If B=S Then Writeln (' the Double-dealing fellow ') Else Writeln (' Not the double-dealing fellow ') End. The number written in a string variable, naturally number is not, but very often it is required to use nevertheless it as number. For this purpose it is necessary to make type conversion. Translation of the string Number representations in the numerical are fulfilled in Pascale by Val operator. Its format: Val (S, X, C); Here S - the string containing number, X - a numerical variable in which the result will be placed, With - an integral type variable in which is located the first met in S the character distinct from digit. If after performance of Val operator the variable With matters 0 it means that type conversion has passed absolutely successfully and in string of the non-numerical Characters has not met. Opposite operation is carried out by Str operator. An operator format: Str (X, S); X - number (or arithmetic expression), S - a string variable. String representation of number gets to variable S X. It it is necessary to display if necessary, for example, numbers in a graphic mode (It will be studied later) as standard procedures of output to the screen there work only with string values. For an illustration we will consider such task: "to Find the sum of digits of the entered natural number". Using only numerical variables, to solve it it is possible, ![]()
| Copyright © 2005-2022 Aha-Soft. All rights reserved. |
|