looping and printing to a printer??



I would like to make a program that will print to the printer odd
numbers of an entered number. For example if I enter 14 in the textbox
I will get a printout like this: 13, 11, 9, 7, 5, 3, 1

How would I go about doing this? I would assume I would use a loop and
do something like this?..

while text1.text !=0
then mod by 1 and display the answer
loop

.



Relevant Pages

  • sending text to a printer??
    ... I would like to make a program that will print to the printer odd ... I would assume I would use a loop ... then mod by 1 and display the answer ...
    (microsoft.public.dotnet.languages.vb)
  • Getting the value of one textbox in an array.
    ... To loop through the textboxes and retrieve the value of each box I use ... do I get the function to return JUST the value of the textbox that I ... and if I click on the first textbox it will display an alert with 1. ...
    (comp.lang.javascript)
  • Re: Interpreting the colon operator
    ... I tried this by using the print statement inside the loop. ... What follows then would be a display of ... is apparently affected by the fact that matlab is aware that 'Av' ... three-dimensional matrix even though the first index is restricted ...
    (comp.soft-sys.matlab)
  • Re: Text window not displaying inside loop
    ... // Idle until the screen redraws itself, ... MSG msg; ... functionality to loop every X-seconds then checking the figures again. ... trying to display them fresh on each loop to a text box. ...
    (microsoft.public.vc.mfc)
  • Re: Text window not displaying inside loop
    ... // Release main thread for background processing ... GiveTime(); ... functionality to loop every X-seconds then checking the figures again. ... trying to display them fresh on each loop to a text box. ...
    (microsoft.public.vc.mfc)

Loading