Jade 7

Error 6090 - Cannot access protected property or method

The problem here is that you did not change the access for myLibrary from protected to public.

A protected property in the Book class can only be accessed by a method of the Book class.

JadeScripts cannot access protected properties.

Instructions

  1. Select the Book class.
  2. Double click the myLibrary property.
    The Define Reference dialog is displayed.
  3. Select the public access option button.
  4. Click the OK button.
  5. Select the JadeScript class.
  6. Select the createLibraryAndBooks method.
  7. Select the Methods | Compile Method menu command.
    The status line in the Class Browser displays the message
    «Compilation complete - no errors»
  8. Select the Jade | Execute it menu command.
    The status line displays the message
    «Execution complete»

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 Contents
 

For maximum reliability, security and performance of your JADE solution, JADE Care24 is our fully comprehensive systems management offering.