Cable Electronics DVP14 Specifikace Strana 254

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 332
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 253
Appendix 5 Ethernet App5-29
Notes on use of the sample programs
The data type to be set when creating a program varies depending on whether Visual C++ or
Visual Basic is used.
For the data type and range, refer to the following tables.
Visual C++
Visual Basic
Visual C++ VB
BYTE Byte
short
Integerunsigned short
WORD
int
Longlong
DWORD
char String
Data Type Bytes Data Range
BYTE 1 0 to 255
short 2 32768 to 32767
unsigned short 2 0 to 65535
WORD 4 2147483648 to 2147483647
int 4 2147483648 to 2147483647
long 2 0 to 65535
DWORD 4 0 to 4294967295
char 1 128 to 127
Data Type Bytes Data Range
Byte 1 0 to 255
Boolean 2 TRUE(0) / FALSE(1)
Integer 2 32768 to 32767
Long 4 2147483648 to 2147483647
Double 8 4.94E324 to 1.79E+308
String Variable 0 to 2 GB
Zobrazit stránku 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 331 332

Komentáře k této Příručce

Žádné komentáře