1.

Solve : msdos programming?

Answer»

more|more >>>here.http://www.perl.com/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
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
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.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 processingcombined 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!!!!UnAssembler, i am glad to see that there are still some people who know about proper programming!
Quote from: Dias de verano 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!

what is "proper programming" , by your definition. just curiousQuote from: ghostdog74 on April 12, 2008, 08:31:57 PM
Quote from: Dias de verano 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!

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

Don't folks do irony where you come from?

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)


Discussion

No Comment Found