Returning calculated values from a subroutine (New Features)

by UglyMike ⌂ @, Brussels, Tuesday, October 30, 2012, 21:00 (2450 days ago) @ lrcvs

Can / how to spend DIM's / Arrays to functions and procedures?


If you mean how can we send arrays to subroutines, then it's the same as with varables: you need to define them as global:

Global MyArray, MyTextArray$
Dim MyArray(99)
Dim MyTextArray$(10)

Now you can freely use them in your main code and in your subroutines.

Complete thread:

 RSS Feed of thread

powered by my little forum