Campbell-scientific CR800 and CR850 Measurement and Control Systems Manuel d'utilisateur Page 481

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 566
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 480
Appendix A. CRBasic Programming Instructions
481
String Output Processing
TheSample()instructionwillconvertdatatypesifthesourcedatatype
isdifferentthantheSample()datatype.Stringsaredisallowedinall
outputprocessinginstructionsexceptSample().
A.7.2 String Commands
ArrayLength
Returnsthelengthofavariablearray.
Syntax
ArrayLength(Variable)
ASCII
ReturnstheASCII/ANSIcodeofacharacterinastring.
Syntax
Variable = ASCII(ASCIIString(1,1,X))
CheckSum
Returnsachecksumsignatureforthecharactersinastring.
Syntax
Variable = CheckSum(ChkSumString, ChkSumType, ChkSumSize)
CHR
InsertsanANSIcharacterintoastring.
Syntax
CHR(Code)
FormatFloat
Convertsafloatingpointvalueintoastring.ReplacedbySPrintF().
Syntax
String = FormatFloat(Float, FormatString)
FormatLong
ConvertsaLONGvalueintoastring.ReplacedbySPrintF().
Syntax
String = FormatLong(Long, FormatString)
FormatLongLong
Convertsa64bitLONGintegerintoadecimalvalueintheformatofastring
variable.
Syntax
FormatLongLong(LongLongVar(1))
HEX
Returnsahexadecimalstringrepresentationofanexpression.
Syntax
Variable = HEX(Expression)
Vue de la page 480
1 2 ... 476 477 478 479 480 481 482 483 484 485 486 ... 565 566

Commentaires sur ces manuels

Pas de commentaire