jj logo
Take a quick tour of JJ
Teacher Registration
Student Registration
Industry Registration
Guest Registration
Some Humor
Friends
Quotes


Name
Password
School


..
JJ Words Web Page

Welcome to the JJ words page. This page introduces you the words used in JJ. These words are part of JJ, and thus cannot be used as NAMEs in your JJ code. For example, the word 'If' is a JJ word, it is used to start an If command. Thus, you cannot use the word If as a NAME:
   Box if ofType int           -- CheckIt error
   Start
   Outputln "Enter a number:"
   Input if				 -- this command will also have to change


Command words start with a capital, but so do some other words.
If you look at the JJ Command page, you will see that every word which starts a JJ command starts with a capital letter. There are other words, however, that also start with a capital letter. For example, the word 'Str' is the name of a JJ class, and since class names start with capital letters, so does the word 'Str'. Another example is the word 'Cos'. Built in math function, like Cos, Sin and Tan all start with a capital letter.

Words For Commands

Some commands do not have any special JJ words besides the first word. For example, a Class command starts with the JJ word 'Class', but does not contain any other JJ words. (The Class command is the word 'Class' followed by a NAME for the class). Here is a list of words that may be used with each command:
  • Class
  • EndClass
  • Constructor
  • EndConstructor
  • Function
    • none
    • ofType
    • int
    • real
    • bool
    • ofClass
    • Str
    • is
    • public
    • private
  • EndFunction
  • Routine
    • none
    • is
    • public
    • private
  • Start
  • EndRoutine
  • Box (for a Class)
    • ofType
    • int
    • real
    • bool
    • ofClass
    • Str
    • is
    • public
    • private
  • Boxes (for a Class)
    • same as Box (for a Class) (above)
  • Box (for a Function or Routine)
    • ofType
    • int
    • real
    • bool
    • ofClass
    • Str
    ofType, int, real, bool, ofClass, Str
  • Boxes (for a Function or Routine)
    • same as Box (for a Function or Routine) (above)
  • Constant
  • Slot
    • ofType
    • int
    • real
    • bool
    • ofClass
    • Str
  • New
    • with
  • NewArray
    • ofType
    • int
    • real
    • bool
    • ofClass
    • Str
  • Set
  • Inc
    • by
  • Dec
    • by
  • Input
  • Output
  • Outputln
  • If
    • then
  • ElseIf
    • then
  • Else
  • EndIf
  • Repeat
  • EndRepeat
  • ExitOn
  • Call
    • with

Alphabetical Word List

  • Acos
  • and
  • are
  • Asin
  • Atan
  • Atan2
  • bool
  • BoolToStr
  • Box
  • Boxes
  • Call
  • Ceil
  • Class
  • Constant
  • Constructor
  • Cos
  • Dec
  • Else
  • ElseIf
  • EndClass
  • EndConstructor
  • EndFunction
  • EndIf
  • EndRepeat
  • EndRoutine
  • equals
  • ExitOn
  • Exp
  • false
  • Floor
  • Function
  • If
  • Import
  • Inc
  • indexOf
  • Input
  • int
  • IntToReal
  • IntToStr
  • is
  • length
  • Log
  • New
  • NewArray
  • none
  • not
  • null
  • ofClass
  • ofType
  • or
  • Output
  • Outputln
  • Pow
  • private
  • public
  • Random
  • real
  • RealToInt
  • RealToStr
  • Repeat
  • Routine
  • Set
  • Sin
  • Slot
  • Sqrt
  • Start
  • Str
  • substring
  • Tan
  • then
  • this
  • toLowerCase
  • toUpperCase
  • true
  • with

    Word Definitions

  • Acos

    This is a math function. More info to be supplied later.

    
     
  • and

    This word belongs in an EXPRESSION. More info to be supplied later.

    
     
  • are

    This word precedes the word 'public' or 'private' in a Boxes command. More info to be supplied later.

    
     
  • Asin

    This is a math function. More info to be supplied later.

    
     
  • Atan

    This is a math function. More info to be supplied later.

    
     
  • Atan2

    This is a math function. More info to be supplied later.

    
     
  • bool

    This word is the name of a class and belongs in a Function, Slot, Box, Boxes or NewArray command. More info to be supplied later.

    
     
  • BoolToStr

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • Box

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Boxes

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Call

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Ceil

    This is a math function. More info to be supplied later.

    
     
  • Class

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Constant

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Constructor

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Cos

    This is a math function. More info to be supplied later.

    
     
  • Dec

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Else

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • ElseIf

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • EndClass

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • EndConstructor

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • EndFunction

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • EndIf

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • EndRepeat

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • EndRoutine

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • equals

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • ExitOn

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Exp

    This is a math function. More info to be supplied later.

    
     
  • false

    This word belongs in an EXPRESSION. More info to be supplied later.

    
     
  • Floor

    This is a math function. More info to be supplied later.

    
     
  • Function

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • If

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Import

    This is a command word, but it is relatively advanced. More info to be supplied later.

    
     
  • Inc

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • indexOf

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • Input

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • int

    This word is the name of a class and belongs in a Function, Slot, Box, Boxes or NewArray command. More info to be supplied later.

    
     
  • IntToReal

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • IntToStr

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • is

    This word precedes the word 'public' or 'private'. More info to be supplied later.

    
     
  • length

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • Log

    This is a math function. More info to be supplied later.

    
     
  • New

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • NewArray

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • none

    This word belongs in the Constructor, Routine and Function commands. More info to be supplied later.

    
     
  • not

    This word belongs in an EXPRESSION. More info to be supplied later.

    
     
  • null

    This word belongs in an EXPRESSION. More info to be supplied later.

    
     
  • ofClass

    This word precedes the word 'Str' and belongs in a Function, Slot, Box, Boxes or NewArray command. More info to be supplied later.

    
     
  • ofType

    This word precedes the word 'int', 'real' or 'bool' and belongs in a Function, Slot, Box, Boxes or NewArray command. More info to be supplied later.

    
     
  • or

    This word belongs in an EXPRESSION. More info to be supplied later.

    
     
  • Output

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Outputln

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Pow

    This is a math function. More info to be supplied later.

    
     
  • private

    This word follows the word 'is' and belongs in a Box, Boxes, Constructor, Routine or Function command. More info to be supplied later.

    
     
  • public

    This word follows the word 'is' and belongs in a Box, Boxes, Constructor, Routine or Function command. More info to be supplied later.

    
     
  • Random

    This is a math function. More info to be supplied later.

    
     
  • real

    This word is the name of a type and belongs in a Function, Slot, Box, Boxes or NewArray command. More info to be supplied later.

    
     
  • RealToInt

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • RealToStr

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • Repeat

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Routine

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Set

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Sin

    This is a math function. More info to be supplied later.

    
     
  • Slot

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Sqrt

    This is a math function. More info to be supplied later.

    
     
  • Start

    This is a command word. More info to be supplied later. For now, you can press the JJ Command button on the main JJ page.

    
     
  • Str

    This word is the name of a class and belongs in a Function, Slot, Box, Boxes or NewArray command. More info to be supplied later.

    
     
  • substring

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • Tan

    This is a math function. More info to be supplied later.

    
     
  • then

    This word belongs in the If and ElseIf commands. More info to be supplied later.

    
     
  • this

    This word belongs in an EXPRESSION. More info to be supplied later.

    
     
  • toLowerCase

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • toUpperCase

    This word is the name of a function and belongs in an EXPRESSION. More info to be supplied later.

    
     
  • true

    This word belongs in an EXPRESSION. More info to be supplied later.

    
     
  • with

    This word belongs in the Call command. More info to be supplied later.

    
    

    You are at the end of the word discussion, you may return to the top or click to jump up to your desired topic:

  • Return to
        JJ
    home page
    ..