Solution:I just needed to use the Width command to figure out length and width.
Long story short:I just want to figure out the text limit using Screeninfo after the screen has been set with a Screen (Mode Number).
Hi, so I'm writing this "simple" text library to make my life easier, and I sort of want to do this math on the fly. I just want to say I'm using the DOS version now so certainly tricks might not work.
Let's say I have this code.
Code: Select all
Declare Function Center (a As String, b As Integer)
Function Center (a As String, b As Integer)
...
End Function
What I do in the function later on isn't important, however, it DOES require me to figure out the character limits of the screen mode to use in some math. I assume Screeninfo is somehow capable of getting the text limits of the screen(for example:Screen Mode 16 has a limit of 64x24 or 64x48 characters, I want to know which limit is there currently.) I am just not sure how to do this. How would I do this? I'm sorry for my poorly worded question, I just wasn't sure how to convey what I wanted.