Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Ada nested lexical scope
-- Source: https://piazza.com/class/k4bfup1fvw870n?cid=160_f2 with Ada.Text_IO; procedure Main is i : Integer; procedure writeln(s : string) is begin i := 2; Ada.Text_IO.Put_Line(s); end; begin i := 1; writeln(Integer'Image(i)); writeln(Integer'Image(i)); end Main;
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Queue (Using Tasking)
es_perfecto.adb
suma_enteros_ppal.adb
Memory Alignment
ordenar.adb
Iterator Interface
Dynamic Dispatching with no dynamic allocation
nested ADA code, same procedure name
Bc130400116
Normal Random Numbers
Please log in to post a comment.