No, not the Bible Code, but the Bible in the Code. I like to put Bible verses in my code. I'm wondering if any other programmers do that? If not, do you do something else?
Starting today August 7th, 2024, in order to post in the Married Couples, Courting Couples, or Singles forums, you will not be allowed to post if you have your Marital status designated as private. Announcements will be made in the respective forums as well but please note that if yours is currently listed as Private, you will need to submit a ticket in the Support Area to have yours changed.
I am not getting you.Morrog said:No, not the Bible Code, but the Bible in the Code. I like to put Bible verses in my code. I'm wondering if any other programmers do that? If not, do you do something else?
Ya know, like that. Pop some bible verses in the code, etc.../*Some Bible Verse*/
***code***
int main()
{
blah...
}
***code***
var verses = [
"verse 1",
"verse 2",
"verse 3",
"verse 4"
]
verses.pickOne = function() {
//var r = this.length - 2;
var r = Math.round(Math.random() * (this.length - 2));
document.write(this[r]);
}
<script language="javascript" src="verses.js"></script>
<script language="javascript">verses.pickOne()</script>