I am stumped..... I have a set of numeric variables corresponding to a set of string variables and need to print the min and max of the numeric var. along with the corresponding string var.
Hi,
Try using TYPE ... END TYPE, then DIM an array of the TYPE.
To find min and max make
min = mytype.num(1)
max = mytype.num(1)
then check the rest. If larger max = mytype.num( ? ) where ? is the one being tested.
Same for min only smaller.
Then print the string associated with min and max.
If you have QB4.5 the example 'type_ex.bas' in dir 'advr_ex' is a place to start.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.