Search the Community
Showing results for tags 'bug'.
I want to use next code: TYPE (* A class example. *) TClassOne = CLASS (TObject) PUBLIC PROCEDURE Stuff; END; (* Another class example. *) TClassTwo = CLASS (TObject) PUBLIC PROCEDURE MoreStuff; END; When compiling (command line smsc.exe, I didn't try on IDE) it returns next error: [ERROR] Compilation failed! Error(s): 1 Syntax Error: Unknown name "TClassTwo" [line: 68, column: 5] If I put a "TYPE" just before the second class definition, it compiles without error. That's not good.
Hello! I am very new to SMS and I find it's potential very appealing, and even better that I can develop something modern in Pascal. However my first impressions of it has not been very positive because of several reasons, I will address the first reason here. When I save a project it saves just fine, but when I re-open the project I get the following error: Unknown name: TApplication and the unit called "Unit1.pas" does not seem to be saved witth the project. "Unit1.pas" is not available in the Project Manager tree on the left side of the screen upon re-open. Why is this