Campbell-scientific CR800 and CR850 Measurement and Control Systems Manual do Utilizador Página 481

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 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)
Vista de página 480
1 2 ... 476 477 478 479 480 481 482 483 484 485 486 ... 565 566

Comentários a estes Manuais

Sem comentários