Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter TwelveInternet Functions (continued)

IPv4ToArray Function

Overview

The IPv4ToArray function creates an array of bytes from an IPv4 dword.

Syntax/Parameters

Syntax

byte[] = IPv4ToString ( dword data );

Parameters

data

A dword containing specifying a compliant IPv4 address. If the value exceeds 32-bits, a runtime error will occur.

Return Value

Returns a four element byte array containing the translated value. The array data type can be of size byte or larger.

Remarks

The return value is highest byte to to lowest, for example: 0x01020304 will return elements 1, 2, 3, 4.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic