Every time I make a program I get a syntax error. It just says: Compilation Failed (Syntax Errors) and doesn't highlight anything like it usually does! Here is my code, I was practicing U.D.Ts when I was doing this.
type mission
name as string
rebuilt as string
maxisstudying as string
endtype
sangabriel as mission
sangabriel.name = "San Gabriel Arcangel"
sangabriel.rebuilt = "Yes"
sangabriel.maxisstudying = "is Maxim's"
sandiego as mission
sandiego.name = "San Diego"
sandiego.rebuilt = "Rebuilt as a full quadrangle."
sandiego.maxisstudying = "is not Maxim's"
do
if spacekey() = 1
print "The mission name is " + sangabriel.name
print "Did the mission need to be rebuilt? " + sangabriel.rebuilt
print "The mission " + sangabriel.maxisstudying + " " + "mission."
endif
loop
Before you ask, I got the DB pro free for 1 person. ;D