ok another stupid question time....
What I want to do is create a conditional procedure and/or boolean that
if (users terminal size (don't know the variable for this = 80 x25) then
+ New MPL variables "TermSizeX" and "TermSizeY" tell you the size of the
user's terminal.
Okay, since I don't see other answers, I'm going to ask stupid
questions, andgive stupid answers, because I very definitely _can_
figure this out; I justhaven't programmed MPLs or Pascal and likely will be a bit lazy with myanswer.
If TermSizeX = 137 Then
If TermSizeY = 37 Then
DispFile (MenuName)
Else
DispFile (defaultMenuName)
Thank you Adept,Begin
Yes I agree it should work that way, and like you I'm more familiar with
C andjavascript now, but never used pascal.
The syntax is different which is what I'm really looking for.
If TermSizeX = 137 Then
If TermSizeY = 37 Then
EndDispFile (MenuName)
BeginElse
EndDispFile (defaultMenuName)
So yeah, this is where I'm confused ... that totally makes sense other then thefact that Mystic supports more then just 132x37 screen formats. And why the Xand Y are separate make it confusing to me. As I may have ANSI's that are132x24, or whatever .. Mystic supports up to 160x? ...
so I think the best wayis to basically say if ! Termsize 80x25 do ...
but combining the separatefunctions into a flexible condition is where I hope I can find an answer ..Once I get it from g00r00 or some of the ArakNet guru's .. I'll post here ...
so I think the best way is to basically say if ! Termsize 80x25 do ...
but combining the separate functions into a flexible condition is where
Sysop: | altere |
---|---|
Location: | Houston, TX |
Users: | 66 |
Nodes: | 4 (0 / 4) |
Uptime: | 19:49:48 |
Calls: | 636 |
Files: | 7,638 |
Messages: | 292,586 |