General discussion

Locked

writing a complex program

By michaelpwr ·
Tags: Off Topic
Is it possible to write complex programs without the ability to alter the logic flow using control breaks, if statements etc.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Certainly...

by john.a.wills In reply to writing a complex program

write your program in an assembler language for your machine, using conditional jump and skip instructions to implement the block structure. But what is your actual problem? And why have you put the discussion (question, really) around the Water Cooler?

Collapse -

odd answer there

by Jaqui In reply to Certainly...

I really think you are mistaken John, even assembler conditional jump and skip instructions are "control breaks, if statements etc."
it is a different language, but anything that shifts the excution to a different location is what I see the op trying to avoid, and if my interpretation of his [wrongly placed ] question is correct, then the correct answer is no.

Collapse -

You are right, of course, Jaqui,

by john.a.wills In reply to odd answer there

but it may depend on exactly what is getting asked. There is some ambiguity in the question as it stands, and that ambiguity becomes greater if we allow for possible mis-typing (what happens if we put a comma after "flow"?). But I think michaelpwr has forgotten this thread (he was seen 3 days ago).

Back to After Hours Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums