Simple Data types
//creates three variables for TEMPERATURE which is of type float
type TEMPERATURE is new float; ta, tb, tc: TEMPERATURE;
//creates three variables for PRESSURE which is of type float
type PRESSURE is new float; pa, pb, pc: PRESSURE;
ta=pa is illegal as it is implicit type conversion
ta= TEMPERATURE(pa); is legal
//creates range between o to 10000
type HEIGHT is new float range 0..100000;
Sub types
type TIME is new float range 0..23.59; subtype MORNING is TIME range 0..11.59; subtype NOON is TIME range 12..16.00; subtype EVENING is TIME range 16.01..18.59
Enumeration type
MONTH is (jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec);
floating point
type var1 is digits 8 range -1e20..1e20;
type var2 is digits 12 range -1e20..1e20;
fixed point
type var3 is delta 0.001 range 0.000..0.999;
Arrays
//SMALLINT is a array variable can have the range between 0 and 20, 10 such variables are declared
type SMALLINT is integer range 0..20;
type VAR4 is array(1..10) of SMALLINT;
10 February 2009
Powered by Blogger.
About Me
Featured Post
5G Network Simulation in NS3 using mmWave | NS3 Tutorial 2024
5G Network Simulation in NS3 Using mmWave This post shows the installation of ns3mmwave in Ubuntu 24.04 and simulates 5G networks in ns3. In...
Contact form
Total Pageviews
Search This Blog
Categories
- 5G
- 8051
- ADA
- Analytics
- Android
- Animator
- AODV
- Apache
- ARM
- AWK
- C
- C++
- CentOS
- Cloud
- CMS
- Computer Networks
- Contiki
- CPS. Cyber Physical Systems
- CSMA
- Data Structures
- Deep Learning
- Digital Electronics
- elearning
- Electrical Engineering
- Embedded Systems
- EmbeddedSystems
- Energy
- Errors
- Fedora
- Flow Monitor
- gnuplot
- HowTos
- Installation
- Internet of Things
- IOT
- IoT Tutorials
- Javascript
- Kali Linux
- Linux
- Linux Commands
- Linux Kernel Programming
- Linux Mint
- Mac OS
- MANETs
- Moodle
- MySQL
- NetAnim
- Network Analyser
- Network Analysis
- Network Simulation
- Network Simulator 2
- Network Simulator 3
- Node JS
- ns-3 Tutorial
- ns-3.44
- NS2
- NS2 Errors
- NS2 Lecture Series
- NS2 Tutorial
- NS3
- nsnamcom
- Omnet
- Omnet++
- Open Source
- Optical Networks
- Perl
- PHP
- Point to Point
- Presentation
- Protocol
- Python
- PyTorch
- R
- RealTimeSystems
- Research
- Research Tools
- Robotics
- ROS
- routing
- RTOS
- SDN
- Sensor Networks
- Shell
- Software Engineering
- Special
- Stone Letters
- TCL
- Testing
- Tracegraph
- Ubuntu
- VANET
- VHDL
- Videos
- Visualizer
- Windows 10
- Windows 11
- Windows 7
- Windows 8
- Windows7
- Wired network
- wireless
- Wireshark
- wordpress
- xgraph
- Youtube
Pages
Pages
Pages - Menu
Most Popular
-
This post will help you in installing Network Simulator 2 version NS2.35 in Ubuntu 11.10 Instructions Install Ubuntu Download NS-2.35 (...
-
How to create a new agent in NS2. You can use any version of the Simulator. The following codes will make you to understand the writing of a...
-
Aim: To design and simulate a DNS query-response mechanism over UDP sockets using NS3. The client sends QUERY:<domain> packets to a ...
Popular Posts
-
This post will help you in installing Network Simulator 2 version NS2.35 in Ubuntu 11.10 Instructions Install Ubuntu Download NS-2.35 (...
-
How to create a new agent in NS2. You can use any version of the Simulator. The following codes will make you to understand the writing of a...
-
Aim: To design and simulate a DNS query-response mechanism over UDP sockets using NS3. The client sends QUERY:<domain> packets to a ...

Sir ,thank you very much for the information about ADA real time programming language.It was very much helpful.
ReplyDelete