Programming Issue

robotdna

Active member
I am writing a program to tell me shape and bond angle of a molecule

when the bonding and non-bonding domains are entered. This returns a

"Missing Then in the If..EndIf block" Error, yet I am not missing any

Then statements. What is going on?

Define b(c,d)=
Prgm
:If c=2 and d=0 Then
:Disp "Linear, 180"
:ElseIf c=3 and d=0 Then
:Disp "Trigonal Planar 120"
:ElseIf c=2 and d=1 Then
:Disp "Trigonal Planar Bent/V-Shaped
 
programming_o_1075452.jpg
 
just leave being a codemonkey up to gooks, chinks, and sand ninjas

anyone whos first language is english should go into managing these naturally beta fucks
 
Solved. I was missing an "and"

Thank you to everyone that attempted to help. This was driving me insane.
 
Back
Top