Remote-processing BASIC 52 Manuel d'utilisateur Page 123

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 163
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 122
RPBASIC-52 PROGRAMMING GUIDE
2-104
Syntax: A = STR(3,$(n))
Description:
Returns num bers in a string as a real number. Sim ilar to V AL i n othe r Basics. Leading spaces are ignored.
First non-number terminates conversion at last valid number. No valid num bers return 0. Num ber length is
limited to the first 12 valid numbers and decimal in a string. This means a number no greater than
9999999999 999 is converted to a number.
Example: 10 STRING 100,20
20 $(2) = "-23.452volts"
30 A= STR(3,$(2))
40 PRINT A
run
-23.452
Syntax: A = STR(4,$(n))
Description:
Trims spaces to left of first non-space character. Variable A returns length of trimmed string.
Example: 10 STRING 100,20
20 $(0) = " 1234"
30 A = STR(4,$(0))
40 PRINT $(0)
50 PRINT A
run
1234
4
Syntax: A = STR(5,$(n))
Description:
Trims spaces from right side of string. Variable A returns length of trimmed string.
Example: 10 STRING 100,20
20 $(0) = "ABCDE "
30 A = STR(5,$(0))
40 PRINT $(0)
50 PRINT A
run
ABCDE
5
Syntax: A = STR(6,$(x),$(y))
A = STR(6,$(x),"string")
Description:
Appends one string into another. This function concatenates tw o strings in the form of $(x) = $(x) + $(y).
Length of new string is returned in variable A. The variable $(y) could be a quoted string.
Example: 10 STRING 120,40
20 $(0)="First part"
30 $(1)=" Second part"
40 A = STR(6,$(0),$(1))
50 PRINT $(0)
60 PRINT "Length:",A
70 A = STR(6,$(0)," last part")
80 PRINT $(0)
90 PRINT "Length:",A
run
First part Second part
Length: 22
First part Second part last part
Length: 32
Lines 50 and 80 print the concatenated string $(0).
Vue de la page 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 162 163

Commentaires sur ces manuels

Pas de commentaire

LG OLED65C7V manuals

Owner’s manuals and user’s guides for Unknown LG OLED65C7V.
We providing 1 pdf manuals LG OLED65C7V for download free by document types: User Manual






More products and manuals for Unknown LG

Models Document Type
ARWN120LAS4.EWGBLEU User Manual   LG ARWN080LAS4.EWGBLEU Owner's manual, 39 pages
CS18AQ User Manual   LG CS18AQ,CS24AQ Εγχειρίδιο Χρήσης, 23 pages
RC7066A6Z User Manual   LG RC7066A6Z Εγχειρίδιο Χρήσης, 28 pages
WD-8040F User Manual   LG WD-8040F Руководство пользователя, 10 pages
MS-192T User Manual LG MS-192T Brukermanual, 18 pages
52SZ8R User Manual   LG 52SZ8R Owner’s Manual, 44 pages
86UH955V User Manual    LG 75UH855V,86UH955V Інструкція користувача, 53 pages
TD-C70043E User Manual   LG TD-C70043E Εγχειρίδιο Χρήσης [en] , 28 pages
V-CB211HTU User Manual LG V-CB211HTU 使用手冊, 6 pages
MS-1940V User Manual LG MS-1940V Instruktionsbogen, 27 pages
DWD-1280FD User Manual LG DWD-1280FD Instruktionsbogen, 27 pages
L2000CP-BF User Manual   LG L2000CP-BF 产品说明书, 22 pages
43UH619V User Manual    LG 43UH610V,49UH610V,43UH619V Інструкція користувача [en] , 50 pages
NC1000-BAAB User Manual   LG NC1000-BAAB Руководство пользователя [en] , 117 pages
MP500-BEBF User Manual   LG MP500-BEBF 使用手冊, 41 pages
NB2020A User Manual LG NB2020A Εγχειρίδιο Χρήσης, 18 pages
43LJ550T User Manual   LG 43LJ550T,49LJ550T 使用手冊, 37 pages
ARNU05GTRC4.ENWBLEU User Manual LG ARNU05GTRC4.ENWBLEU,ARNU18GTQC4.ENWBLEU,ARNU36GTNC4.ENWBLEU Instruktionsbogen, 13 pages
LGT505 User Manual   LG LGT505 Owner's manual [it] , 2 pages
GR-T382SV User Manual LG GR-T382SV Owner’s Manual, 13 pages