hi i need help if finding out what an output statement is. i know what an input statements (where ther user enters data in a input box) is but not an output statement? can any body help me? an example would be great.
Printable View
hi i need help if finding out what an output statement is. i know what an input statements (where ther user enters data in a input box) is but not an output statement? can any body help me? an example would be great.
Not sure what you do know about the "Input" but there several flavors of it:
many other sample may follow...Code:'get some text input from the user
some_input_from_userinputbox = InputBox("Type Something", "Test Input", "Hello")
Open "c:\test" For Input As #1
'read entire file using Input function
entire_text = Input(LOF(1), #1)
'or read it line by line using Line Input
Do While Not EOF(1)
Line Input #1, current_line
Loop
Close #1
Anyway, what type of Output are you looking to achieve? :confused:
i want to find out ALL the available output statements. by the way is a message box an output statement or not?
Output to what? Sure a MsgBox "could" be considered an output to screen type of statement but is this some kind of assignment.
How something is output is pretty much limited to your own imagination. You can pretty much output it to anything you want.Quote:
Originally Posted by adam786
A question like this sure sounds like an assignment. Did your teacher mean outputs to screen, printer or other periphial devices?
nope no kind of assignment just trying to get my head round it because i saw this on some other forums and just wanted to investigate. so i would say message boxes, print to screen, printers, etc are output statements. thanks for all your help its appreciated.
There are way too many to list. It should be you tell us what you are trying to do and we can help you easier then trying to list out everything as there are probably thousands of ways and functions etc to "output".
... without actually using the "output" keyword. :)Quote:
Originally Posted by Hack