Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: msdos programming  (Read 13625 times)

0 Members and 1 Guest are viewing this topic.

merlin_2

  • Guest
Re: msdos programming
« Reply #15 on: April 09, 2005, 03:09:37 PM »
more|more >>>here.http://www.perl.com/

Ludo

  • Guest
Re: msdos programming
« Reply #16 on: April 10, 2005, 06:11:22 PM »
Here a little code that runs under a DOS and prompt for a operation to compute (works fine only without comas and small numbers  :-/ )

@echo off
title Little calc -- Enter a operation to compute (ex 5+2) -- Exit : Enter
prompt $B$S

:debut
set /P result="compute ? : "
if "%result%"=="" goto :EOF
set /A result="%result%"
echo Result : %result%
set result=
goto :debut

shashank

  • Guest
Re: msdos programming
« Reply #17 on: April 21, 2005, 11:47:46 AM »
i think you were talking about the batch files in msdos.

though they contain basic programming techniques, i dont think you can really perform addition or any such things using msdos.

if you are really interested in knowing about batch files
and how are they created, you can follow the link below.

http://home.att.net/~gobruen/progs/dos_batch/dos_batch.html

please post if you know anything else about programming in dos.

bye
;)

WarGames

  • Guest
Re: msdos programming
« Reply #18 on: August 21, 2005, 08:59:33 AM »
If you want to do what you said Microsoft Visual Studio.NET is one of my favorite software to do it in. Or Excel is also easy but not exactly writing commands or code.

UnAssembler



    Newbie

    Re: msdos programming
    « Reply #19 on: April 05, 2008, 09:44:04 PM »
    it is great to see some one else also knows the value of MS-DOS.

    With every MS-DOS disk set (3.5" floppy disks) there is a utility called debug.

     you can create programs using this utility.
     
     It is clumsy, awkward and you have to design it on paper using pseudocode and translate it manually to assembly code and then type it in debug to assemble it into a .com file.  

     Pseudocode(an imaginary language that you define some rules for yourself) is needed  for understandability  but it is possible to do what you wish completely in MS-DOS  alone.

     I used MS-DOS 5.0.

     Batch processing combined with redirected input, debug , and your own assemble language routine  is clumsy and slow but it is flexible and free (well at least not an extra cost.) 

     This requires knowledge of your computers CPU instruction set. you should be able to download some reference from the manufacturer( intel[/url] ftp://download.intel.com/design/processor/manuals/ [/url] has some manuals for the x86 family)

     I don't have any links to MS-DOS reference material.

    have lots of fun!!!!
    « Last Edit: April 07, 2008, 12:07:28 AM by UnAssembler »

    Dias de verano

    • Guest
    Re: msdos programming
    « Reply #20 on: April 07, 2008, 03:39:58 PM »
    UnAssembler, i am glad to see that there are still some people who know about proper programming!

    Sidewinder



      Guru

      Thanked: 139
    • Experience: Familiar
    • OS: Windows 10
    Re: msdos programming
    « Reply #21 on: April 07, 2008, 06:35:56 PM »
    <sigh>
    The true sign of intelligence is not knowledge but imagination.

    -- Albert Einstein

    ghostdog74



      Specialist

      Thanked: 27
      Re: msdos programming
      « Reply #22 on: April 12, 2008, 08:31:57 PM »
      UnAssembler, i am glad to see that there are still some people who know about proper programming!

      what is "proper programming" , by your definition. just curious

      Dias de verano

      • Guest
      Re: msdos programming
      « Reply #23 on: April 13, 2008, 01:11:24 AM »
      UnAssembler, i am glad to see that there are still some people who know about proper programming!

      what is "proper programming" , by your definition. just curious

      Don't folks do irony where you come from?


      aliph



        Greenhorn

        Re: msdos programming
        « Reply #24 on: April 20, 2008, 01:55:30 PM »
        u guud at programming?? cos i got this assignment n i'm really finding it hard to solve it.......

        task 3...20 marks
        the administration staff and manager will access this system via an initial system entry screen with a password- this will give access to a main menu screen. the main menu will provide a choice of access to the following screens:

        a. add /delete nurse
        b.  update nurse details
        c. add nursing hours worked
        d. add/delete institution
        e. update institution details
        f. add request for nurse
        g. search available staff/ complete request
        h. print report (manager only)
        i. exit

        (i) using pseudocode, write the top level code for a module showing how the various screens can be accessed.

         note the pseudocode for add, delete, update , search, print and exit procedures is not required.

        (ii) Draw a flowchart for the above module in part (i)