An INVISIBLE Button for your Program (and other stuff!)
Posted: Mon Jun 06, 2005 2:44 pm
In spite of snide remarks from my Worble cheering(??) section, I wrote a program to demonstrate several easy tasks using Just Basic.
Get input from a TEXTBOX.
Use a Window for Dialog and a Default button.
Hide the button outside the window (make it invisible).
Use DATE$() to calculate days, weeks, months between dates.
Extract the decimal fraction only from a large number.
Print USING("###.#", n) to format a number.
IF/THEN to select grammar.
IF/THEN to choose appropriate message.
Teach them pesky Worbles a thing or two!
currentAge.zip contains the BAS program and readME.htm, a tutorial explaining the flow of the program.
Get input from a TEXTBOX.
Use a Window for Dialog and a Default button.
Hide the button outside the window (make it invisible).
Use DATE$() to calculate days, weeks, months between dates.
Extract the decimal fraction only from a large number.
Print USING("###.#", n) to format a number.
IF/THEN to select grammar.
IF/THEN to choose appropriate message.
Teach them pesky Worbles a thing or two!
currentAge.zip contains the BAS program and readME.htm, a tutorial explaining the flow of the program.