Jump to content

Talk:EGL (programming language)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

is an edit is needed?

I am new to EGL, was introduced to it today I take a look at the "Article" and see the following example

   function addEmployee(emp Employee in) returns (boolean)
   	try
   		add remp;
   		return (true);
   	onException (ex AnyException)
   		return (false);
   	end
   end

to my understanding, the function accepts a variable "emp" and the add command tries to add "remp", shouldn't it be "remp" or "emp" in both places ? (the function declaration and the add command) — Preceding unsigned comment added by 62.90.13.57 (talk) 07:00, 19 May 2022 (UTC)[reply]