Thread View: mod.computers.apollo
1 messages
1 total messages
Started by srt
Fri, 01 Aug 1986 20:45
Movie Review & Cautionary Warning
Author: srt
Date: Fri, 01 Aug 1986 20:45
Date: Fri, 01 Aug 1986 20:45
23 lines
1594 bytes
1594 bytes
"The Great Wall" is Peter Wang's ("Chan is Missing", "Dim Sum") most recent
film. It concerns a Chines-American family's return to the mainland and
the comedy (and drama) that results. It is quite a good film, in my opinion,
but what concerns this group is that in the background of one scene can be
spotted a DN300. The first cameo in a major motion picture by an Apollo?
Also, I recently ran across a rather obscure problem in Pascal that I
thought I'd bring up. I had an IF statement of the form:
if ((p <> NIL) AND (link[p^.lp] = 0)) then ...
where the first test is "guard" to prevent a problem on the second. Normally
this works - Pascal does the right thing and evaluates left to right - but
in this case, the compiler pulls the subscript reference outside the IF
form, causing an error. In essence, it turns this into:
x := p^.lp;
if ((p <> NIL) AND (link[x] = 0)) then ...
A hard problem to catch. The solution is to use nested IFs.
-- Scott
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads