Making fun of music, one song at a time. Since the year 2000.
Check out the two amIright misheard lyrics books including one book devoted to misheard lyrics of the 1980s.
(Toggle Right Side Navigation)

Song Parodies -> "No IntToReal"

Original Song Title:

"Run To The Hills"

 (MP3)
Original Performer:

Iron Maiden

Parody Song Title:

"No IntToReal"

Parody Written by:

Phil Alexander

The Lyrics

This is nearly a true story: I couldn't find the function in Delphi to convert an integer to a real (floating point) number, as Delphi doesn't let you typecast from ordinal to real types. And it is actually the case that the Int() function takes an integer and returns a real... which is kinda strange, if you ask me
My programs came
Across from C
Written again
Into Delphi
Numeric types
With hex appeal
From bytes and floats
To the (sur)reals
But unlike C
BASIC as well
You can't cast floats
To integral
There's no typecast
So what's the deal?
How do I turn an
Int to real?

Searching through help files and FAQs
Googling over the 'net
Looking for number conversion routines
How damn obscure does it get?
Found StrToIntDef, and IntToStr back
One thing is missing, a definite lack:

No IntToReal
It's truly vile
No IntToReal
So won't compile

Trunc() goes from real to integer type
Round() function's somewhat the same
StrToIntDef of formatted string?
Efficiently-coded it ain't
Fin'ly the help file gave me a hint:
The counterintuitive answer is "Int()"

Int() returns real
No wonder I'm stressed
Int() returns real
I should have guessed

Your Vote & Comment Counts

The parody authors spend a lot of time writing parodies for the website and they appreciate feedback in the form of votes and comments. Please take some time to leave a comment below about this parody.

Place Your Vote

 LittleLots
Matches Pace of
Original Song: 
How Funny: 
Overall Score: 



In order for your vote to count, you need to hit the 'Place Your Vote' button.
 

Voting Results

 
Pacing: 4.5
How Funny: 4.5
Overall Rating: 4.8

Total Votes: 8

Voting Breakdown

The following represent how many people voted for each category.

    Pacing How Funny Overall Rating
 1   0
 0
 0
 
 2   0
 0
 0
 
 3   1
 1
 0
 
 4   2
 2
 2
 
 5   5
 5
 6
 

User Comments

Comments are subject to review, and can be removed by the administration of the site at any time and for any reason.

stuart mcarthur - September 14, 2005 - Report this comment
well, once I realised StrToIntDef had to be of formatted string, I would've just given up - keep fighting the good fight, Phil - 555
Adam Eccleshall - September 14, 2005 - Report this comment
DKTOS, but a very funny read. I've struggled with similar peculiarities myself recently, so I know exactly how you feel.
Phil Alexander - September 14, 2005 - Report this comment
Adam - there speaks the serious techie, who has a look at a parody called "No IntToReal" not even knowing the OS ;-)
Alex - October 05, 2006 - Report this comment
Was on a mission to find out the same answer, your parody just helped me a great deal. How counter-intuitive. Int returns a real? What is the world coming to.
DavidN - September 06, 2007 - Report this comment
Absolutely fantastic - I think all coders have been in this situation in some way, but I never thought I'd see a Maiden song converted to describe it :)
LaLaLa - June 11, 2009 - Report this comment
The argument of Int() - function is of real type. But this song is funny ) good job)

The author of the parody has authorized comments, and wants YOUR feedback.

Link To This Page

The address of this page is: http://www.amiright.com/parody/80s/ironmaiden37.shtml For help, see the examples of how to link to this page.

This is view # 2257