Hi, I'm with a mechanical engineering background but I'm interested to learn good software engineering practice with Ada. I have a few queries.
Q1. If I understand correctly then someone can just write a package specification (ads) file, compile it and then compile the main program which is using the package. Later on, when one knows wh...
First, I've only programmed a lot of HTML, know a little PHP and am playing with Wordpress, experimenting and learning it the way I learn everything else, trial and error, heavy on the error.
The subject line isn't very clear I'm sure. I have a site set up for writing. The posts act as categories and to a Page menu for static submission...
I found this snippet of code, which works a treat:
$.urlParam = function(name){
var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(window.location.href);
if (!results) { return 0; }
return results[1] || 0;}
}
So if the url/query string was xyz.com/index.html?lang=de
just call var langval = $.urlParam('lang'); an...