- _Title "Overloaded Functions - AS ANY" 
-   
-   
- Dim As String * 21-  stringtest: stringtest  = "This is a string test"
 
- 'Dim As Long imagetest: imagetest = _LoadImage(".\face no background.png", 32) 'replace with an image that you have 
- 'Dim As Long soundtest: soundtest = _SndOpen(".\Dalshabet With. Bigtone.mp3") 'replace with a song that you have 
- stringarraytest(1) = "Array test 1" 
- stringarraytest(2) = "Array test 2" 
- stringarraytest(3) = "Array test 3" 
- unsignedoffsetarraytest(1) = 123456789 
- unsignedoffsetarraytest(2) = 787970792 
- floatarraytest(1) = 3.56 
- floatarraytest(2) = 14.7548 
- floatarraytest(3) = 56.24124 
- doublearraytest(1) = 1.25 
- doublearraytest(2) = 2.34 
- doublearraytest(3) = 5.52 
- singlearraytest(1) = 2.12 
- singlearraytest(2) = 6.87 
- singlearraytest(3) = 9.65 
- unsignedbytearraytest(1) = 255 
- unsignedbytearraytest(2) = 124 
- unsignedbytearraytest(3) = 98 
- unsignedbytearraytest(4) = 34 
- 'test(1) = _MemImage(imagetest) 
- test (2) = _Mem(- singletest )
- test (3) = _Mem(- floattest )
- test (4) = _Mem(- stringtest )
- test (5) = _Mem(- offsettest )
- test (7) = _Mem(- doubletest )
- 'test(7) = _MemSound(soundtest, 1) 'Left channel 
- 'test(8) = _MemSound(soundtest, 2) 'Right channel 
- test (9) = _Mem(- stringarraytest ())
- test (10) = _Mem(- unsignedoffsetarraytest ())
- test (11) = _Mem(- unsignedoffsettest )
- test (12) = _Mem(- floatarraytest ())
- test (13) = _Mem(- doublearraytest ())
- test (14) = _Mem(- singlearraytest ())
- test (15) = _Mem(- unsignedbytearraytest ())
- _MemPut-  test (17),-  test (17)- .OFFSET , "This is a test"
 
-   
-   
-   
-             z = 0 
-             elementsize  = Val(Str$(- args (- x )- .ELEMENTSIZE ))
-                                     _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  unsignedbytearray (- y )
 
-                                     z = z + args(x).ELEMENTSIZE 
-                                     Print-  unsignedbytearray (- y ), "UBYTE ARRAY"
 
-                                     _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  unsignedintarray (- y )
 
-                                     z = z + args(x).ELEMENTSIZE 
-                                     Print-  unsignedintarray (- y ), "USHORT ARRAY"
 
-                                     _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  unsignedlongarray (- y )
 
-                                     z = z + args(x).ELEMENTSIZE 
-                                     Print-  unsignedlongarray (- y ), "ULONG ARRAY"
 
-                                     _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  unsignedint64array (- y )
 
-                                     z = z + args(x).ELEMENTSIZE 
-                                     Print-  unsignedint64array (- y ), "UINT64 ARRAY"
 
-                                     _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  bytearray (- y )
 
-                                     z = z + args(x).ELEMENTSIZE 
-                                     Print-  bytearray (- y ), "BYTE ARRAY"
 
-                                     _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  intarray (- y )
 
-                                     z = z + args(x).ELEMENTSIZE 
-                                     Print-  unsignedintarray (- y ), "SHORT ARRAY"
 
-                                     _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  longarray (- y )
 
-                                     z = z + args(x).ELEMENTSIZE 
-                                     Print-  longarray (- y ), "LONG ARRAY"
 
-                                     _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  int64array (- y )
 
-                                     z = z + args(x).ELEMENTSIZE 
-                                     Print-  int64array (- y ), "INT64 ARRAY"
 
-                                 _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  singlearray (- y )
 
-                                 z = z + args(x).ELEMENTSIZE 
-                                 Print-  singlearray (- y ), "SINGLE ARRAY"
 
-                                 _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  doublearray (- y )
 
-                                 z = z + args(x).ELEMENTSIZE 
-                                 Print-  doublearray (- y ), "DOUBLE ARRAY"
 
-                                 _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  floatarray (- y )
 
-                                 z = z + args(x).ELEMENTSIZE / 2 
-                                 Print-  floatarray (- y ), "FLOAT ARRAY"
 
-                         stringarray (- y ) = Space$(- args (- x )- .ELEMENTSIZE )
-                         _MemGet-  args (- x ), (- args (- x )- .OFFSET ) + (- y  *-  args (- x )- .ELEMENTSIZE  --  args (- x )- .ELEMENTSIZE ),-  stringarray (- y )
 
-                         Print-  stringarray (- y ), "STRING ARRAY"
 
-                     _MemGet-  args (- x ),-  args (- x )- .OFFSET ,-  stringtest 
 
-                             _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  unsignedoffsetarray (- y )
 
-                             z = z + args(x).ELEMENTSIZE 
-                             Print-  unsignedoffsetarray (- y ), "ULONG_PTR ARRAY"
 
-                             _MemGet-  args (- x ),-  args (- x )- .OFFSET  +-  z ,-  offsetarray (- y )
 
-                             z = z + args(x).ELEMENTSIZE 
-                             Print-  unsignedoffsetarray (- y ), "LONG_PTR ARRAY"
 
-                 Print "SOUND",-  args (- x )- .SIZE ,-  args (- x )- .ELEMENTSIZE 
 
-                 Print-  args (- x )- .SIZE , "MEM"
 
-                 'todo