Not recognizing other scripts as type.

I have a script joe.

I create a new script bob.
I want to have a public joe cjoe;

Unity says that type or namespace joe can’t be found. am I missing a directive or an assembly reference

Is this JS or C#? If C#, make sure joe’s class name and filename are the same.

bob is C#
joe is JS.

When mixing languages, you have to place things in different build phases. Unfortunate but that’s the reality.

http://unity3d.com/Documentation/ScriptReference/index.Script_compilation_28Advanced29.html

Cheers,
-Jon