Skip to main content

coTfsatoxL

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE Note
This function should not be used in user specific CAPL programs.

Function Syntax

long coTfsatoxL( char inValueBuf[], dword valueBufSize );

Description

The function converts a string into a long value. The string contains either a decimal value, e.g. “1234” or a hexadecimal value, e.g. “0x4321”. The prefix 0x is automatically detected and the function converts the string.

Parameters

  • inValueBuf[]: Buffer containing the string.
  • valueBufSize: Buffer size in bytes of inValueBuf.

Return Values

Converted string as long value.

Example