See my examples here : https://drive.google.com/file/d/1uO2e_O ... sp=sharing
My code is here :
Code: Select all
CompilerIf #PB_Compiler_OS <> #PB_OS_Windows
CompilerError "This example is working on Windows only and in console mode"
CompilerEndIf
Import "Array.lib"
;my_array(Array mem(1), number.i)
EndImport
Dim mem.i(5)
mem(0) = 15
mem(1) = 1
mem(2) = 350
mem(3) = 25
mem(4) = 55
;; Working for array
!int mem[] = {15, 1, 350, 25, 55};
OpenConsole()
;False position of number int
;!my_array(a_mem, 5);
;Working for array
!my_array(mem, 5);
;my_array(mem(), 5) ;; Not working for Dim
Input()
CloseConsole()