Welcome Guest! To access all forums & features, please register an account or sign-in. → Why register?



"does not exist in current context"?


4 replies to this topic - - - - -

#1 Complete

    Neowinian

  • 83 posts
  • Joined: 07-January 06

Posted 09 November 2012 - 21:23

Why does this give a precompile error that this dictionary class does not exist in current context?

Posted Image


#2 +Majesticmerc

    Resident Idealist

  • 5,103 posts
  • Joined: 24-August 05
  • Location: United Kingdom
  • OS: Arch Linux / Win 7
  • Phone: HTC One X

Posted 09 November 2012 - 21:32

You need an upper case "C" in "levelContent" where the errors are.

#3 firey

    Neowinian Wise One

  • 5,356 posts
  • Joined: 30-October 05
  • Location: Ontario, Canada
  • OS: Windows 7
  • Phone: Android (4.1.2)

Posted 09 November 2012 - 21:39

View PostComplete, on 09 November 2012 - 21:23, said:

Why does this give a precompile error that this dictionary class does not exist in current context?

The class exists.. you just have it incorrectly referenced. "levelcontent" != "levelContent". As mentioned above, code is case sensitive.

#4 PmRd

    Neowinian

  • 1,131 posts
  • Joined: 30-December 01
  • Location: Québec City
  • OS: Windows 8
  • Phone: Windows Phone (HD7)

Posted 09 November 2012 - 21:42

ctrl-space is your friend

#5 OP Complete

    Neowinian

  • 83 posts
  • Joined: 07-January 06

Posted 28 November 2012 - 07:35

View PostPmRd, on 09 November 2012 - 21:42, said:

ctrl-space is your friend

cool.

thanks.