Share this page

# Example: GetElementFrom<n>D<Type-Name>Array

This example retrieves an element of a 3 dimensional byte array.

           ShortArray Var;
           Var = Create3DShortArray(0, 2, 0, 3, 0, 4);
           PutElementIn3DShortArray(Var, 0, 0, 0, lrc_short("0"));
           PutElementIn3DShortArray(Var, 0, 0, 1, lrc_short("1"));
    	......
    	GetElementFrom3DShortArray(Var, 0, 0, 0);     // expected value: 0
    	GetElementFrom3DShortArray(Var, 0, 0, 1);     // expected value: 1
    	...

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: