27 January 2017
27 January 2017
#resource path_to_resource_file as type_of_resource_variable name_of_resource_variable
#resource "data.bin" as int ExtData[] // declaring the numeric array containing data from the data.bin file #resource "data.bin" as MqlRates ExtData[] // declaring the simple structures array containing data from the data.bin file #resource "data.txt" as string ExtCode // declaring the string containing the data.txt file data #resource "data.txt" as string ExtCode[] // declaring the string array containing the data.txt file data #resource "image.bmp" as bitmap ExtBitmap[] // declaring the one-dimensional array containing a bitmap from the BMP file, array size = width * height #resource "image.bmp" as bitmap ExtBitmap2[][] // declaring the two-dimensional array containing a bitmap from the BMP file, array size [hight][width]
Updated documentation.