Campbell-scientific CR1000 Measurement and Control System Bedienungsanleitung Seite 503

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 588
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 502
Appendix A. CRBasic Programming Instructions
503
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)
Seitenansicht 502
1 2 ... 498 499 500 501 502 503 504 505 506 507 508 ... 587 588

Kommentare zu diesen Handbüchern

Keine Kommentare