Campbell-scientific CR1000 Measurement and Control System Manual de usuario Pagina 503

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 588
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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)
Vista de pagina 502
1 2 ... 498 499 500 501 502 503 504 505 506 507 508 ... 587 588

Comentarios a estos manuales

Sin comentarios