answersLogoWhite

0

Well if you want to create a menu, you may use CASE.

This is the program

program Menu;

var menu:integer;

begin

writeln('Menu');

writeln('1. XXXXXXX');

writeln('2. XXXXXXX'); {unlimited option you want}

writeln; {just to make it pretty :)}

write('Mode you want to choose');

readln(menu);

CASE menu OF

1: {program if I choose 1 from the menu};

2: {program if I choose 2 from the menu};

end; {end of case}

readln;

end.

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

Make a pascal using c plus plus?

Please make your question more clear. Qhat do you want to do? Rewrite the programming language Pascal? Convert c++ code to Pascal? Create a Pascal triangle? Make a baby son that's called Pascal? (btw, that last thing has to be done in hardware)


What are some pascal inventions?

Pascal Swirls Pascal invented the Pascal pressure scale


How do you create a menu editor in visual basic 6.0?

Men editor is a most important feacture of any application that enables a large number of commands in a small area. Visual basic provides to creating menu editor in our application. The following step is used to create a menu editor in visual basic 6.0-Click on the 'Tools' menu of VB application window.Select menu Editor from this.A dialogue box is appear. Here we named the menu, named its caption select shortcut for the menu.After doing this click on ok to create your menu.Then after from your menu we select it to write code or event to it for perform a specific operation


PASCAL compiler is written in which language?

Which Pascal compiler do you mean? Pascal compiler can be written in Pascal, of course.


What was the first programming language that used a virtual machine to permit portability of one compiled and linked image to run on many different incompatible computers?

Strictly speaking there has never been such a language. The compiled/linked code is actually an intermediate code known as p-code (portable code), but more commonly referred to as byte code. However, that byte code must subsequently be interpreted or compiled by a virtual machine in order to produce the machine-specific code (machine code). That is, the image cannot be run (executed) without first being interpreted/compiled for a specific machine. The earliest example of this type of language is O-code (object code), which first appeared in 1966, and which allowed a BCPL compiler implementation to produce machine code from the O-code generated upon another machine. Other examples include the Euler language (intermediate language P), popularised in Pascal (1970), Pascal-P (1973), Pascal-S (1975) and USCD Pascal (1978). The latter was influential in the design of Java Byte Code and the Java Virtual Machine (1995). .NET (2003) and the Common Language Runtime (CLR) is another example.

Related Questions

Code for creating pascal's triangle in C programming language?

code for creating pascal's triangle in C programming language?


What are the two steps in creating a menu?

what is the source code for browse in vb.net


How do you run VB in Microsoft Excel?

You can do it by creating macros and then editing the macros. The macros or set of code can be applied to a button. It will depend on the version of Excel you have, but you can usually start creating macros or writing code through the Tools menu.


What were two mathematicians that blaise pascal was in contact with?

Pierre Gassendi and Clyde Mydorge were two mathematicians that Blaise Pascal stayed in contact with. Their services were especially important when Pascal was in the process of creating the adding machine.


How do you get the secret code menu on need for speed undercover for ps2?

there is no secret code menu for the PS2 version.


Where is the ATV off road fury cheat code menu?

The menu for cheat code entery on ATV Off Road Furry 2 is in the options menu on the main title. (main menu.)


Make a pascal using c plus plus?

Please make your question more clear. Qhat do you want to do? Rewrite the programming language Pascal? Convert c++ code to Pascal? Create a Pascal triangle? Make a baby son that's called Pascal? (btw, that last thing has to be done in hardware)


What type transaction code in the SAP Easy Access Screen command field to navigate to the Unit Supply Menu?

To navigate to the Unit Supply Menu in the SAP Easy Access Screen, you would use the transaction code 'ME51N' for creating purchase requisitions or 'MD01' for planning. However, if you're specifically looking for the overall Unit Supply Menu, you might also use the code 'ISU_MENU'. Be sure to check your organization's specific configuration, as transaction codes can vary.


What is a context menu?

A context menu is a menu on a user interface (typically a GUI), such as the right-click function in computing. The context menu offers a range of options, such as creating folders, for example.


Where is cheat code menu in NFS carbon ps2?

just type it on the main menu


How do you get to the chaets menu in nfs carbon?

There isn't one... Go to the main menu (the one after the title screen) enter the code at the main menu.


How do you go to code menu in need for speed most wanted?

all codes are entered in the Start Menu.