replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Computed GO TO triggers optimiser bug
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Computed GO TO triggers optimiser bug
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
mecej4



Joined: 31 Oct 2006
Posts: 1901

PostPosted: Sat May 02, 2015 7:41 pm    Post subject: Reply with quote

The form IF (arith_expr) nnn, 0, 0 (with '0' standing for 'next line') is new to me. Perhaps, by several decades, this convention predates but closely resembles the instruction-pointer-relative addressing used in the x86 and other processors.

With that special meaning assigned to the label 0, should a card fall out of the hopper while the deck was being read in, you would get no "missing label nnn" error from the compiler at all, and run-time behavior could be mysterious. I can see that in this situation having card sequence numbers would be vital.


Last edited by mecej4 on Mon Jun 06, 2016 7:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2415
Location: Yateley, Hants, UK

PostPosted: Sun May 03, 2015 11:46 am    Post subject: Reply with quote

No doubt early Fortran statement types were aligned to processor instructions as one step beyond assembly languages, as distinct from (say) Algol which provides tools to describe algorithms in a standard way. The arithmetic IF goes right back to the beginning.

ICL's zero statement number was an innovative way to reduce the plethora of statement numbers, but it was an extension that no one else adopted. Like all extensions, once you used it on a large scale it impeded transferring the source code to another manufacturer's computers.

The nature of cards was that dropping just one was rather improbable. Drop a box of 2000 at the top of a 5-storey staircase (without risers) - done that. Shred one? Sure. Throw 500 into the air with a high-speed reader jam - that too. The only time I've lost just one line of code was when it was highlighted (but off screen) in a text editor and I pressed another key. It's over 30 years since I used cards, and over 20 since I threw them out.

Eddie
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8255
Location: Salford, UK

PostPosted: Mon Jun 06, 2016 4:10 pm    Post subject: Reply with quote

The original failure has now been fixed for the next release.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group