For example, in the code:
Write ("Please enter Name of family member")
Input FN
Set FN[count]=count
You are trying to read some text into a variable called
FN
, but you previously declared
FN
as a 50 element array of strings, so you cannot read into it in this way. You need to declare a different local variable toreceive the input. You then set element
FN[count]
to the value of
count
. But, as previously mentioned,
FN
is an array of strings, you cannot store numbers into it. And why would you, what purpose would that value have in later parts of the program?
You also have references to a variable called
FR
which has not been declared anywhere.
You will find it much more helpful to use meaningful names for your variables so you can see immediately what each represents.