I imagine that the "V" tools will all share a common command line syntax. So options to define the background color, text color, window color, window background, screen title, and window title. Environment variables would also be a nice option.
So with the right options to define background color=blue, title background color=cyan, title text color=black, window background color=red, window text color=white, … title="FreeDOS 1.2", window title="Hi there!" … you might have this:
VECHO "This is a simple message box"
FreeDOS 1.2
Hi there!
This is a simple message box
VBACKGR=BLUE
VTITLEBG=CYAN
VTITLE=BLACK
VWINBG=RED
VWIN=WHITE
Or as command line options:VTITLEBG=CYAN
VTITLE=BLACK
VWINBG=RED
VWIN=WHITE
VECHO /VBACKGR:BLUE /VTITLEBG:CYAN /VTITLE:BLACK … "This is a simple message box"
By providing flexibility for both command line options and environment variables, it will make things very easy for someone who wants to use the "VTOOLS" to make their own "visual" batch script.With text options:
VECHO /TITLE:"FreeDOS 1.2" /WIN:"Hi there!" "This is a simple message box"
complete horshit commenting choices. welcome to TVision my friend. sin started out this way. Tvision--> GVision. sin 3.11.
ReplyDelete