Please enable JavaScript to view this site.

ESL Documentation

Navigation: » No topics above this level «

Q5 What data types are supported directly?

Scroll Prev Top Next More

The following tables provides a simple translation for different data types:

C Type

ESL Type

short

small integer in function call

long

integer in function call

long *

reference integer in function call; integer in subroutine call

float

small float in function call

double

float in function call

double *

reference float in function call, float in subroutine call

void *

reference in function call without any type declaration

char

small string in function call

HSTRING

string in function call

PHSTRING

string in subroutine call

struct in C

structure in ESL with optional using clauses for each field

Note. PHSTRING and HSTRING are both Esl defined string types, therefore will not be present in Operating System or Third Party supplied functions.  Also, although unsigned long is not in this table, long is. In most cases long can be substituted for unsigned long without any problems. We will go into a more in depth discussion of this conversion later.