Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by germanserranoacosta · Jan 05, 2014 at 02:56 PM · error

BCE0048 error

Hola soy novato ¿alguno de ustedes sabe por que me da erro BCE0048? y como se hace de forma correcta. gracias #pragma strict

static var baraja=new Array(52,2); static var partida=new Array(5,2);
static var baraja1=new Array();

function CARTAS (baraja1) {

 var i=0;    
 var j=2;
 var k=1;
 for (j=2;j<15;j++) {
     for(k=1;k<5;k++) {   
              
         baraja1[i]=new Array(k,j);//////////////BCE0048 Error
         i++;
         //repetido2=repetido2+i+",";
     }
 }
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Side.MZG · Jan 05, 2014 at 04:17 PM

Español: Buenos días, podrías poner el error entero? Normalmente pone algo como BCE0005: Unknown identifier: 'X'. Tambien ayudaría que pusieras el código de baraja1 o, al menos, una forma resumida. [Si es una clase, pues por ejemplo el constructor y la variables públicas]

English: Hello. Could you please post the rest of the error? Usually there is something like BCE0005: Unknown identifier: 'X'. It would also help if you could post the source code of baraja1 or, at least, a summary. [For example, if it is a class, the constructor and the public variables]

EDIT: Sorry, I noticed what baraja1 was after the response was sent

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image germanserranoacosta · Jan 05, 2014 at 04:30 PM 0
Share

baraja1 es variable Array multi dimensional

el error completo es

Type'Object' does not support slicing.(BCE0048)

gracias por responder.

avatar image Side.MZG · Jan 05, 2014 at 04:49 PM 0
Share

mis disculpas, para cuando ví de que tipo era baraja1, la respuesta se había enviado.

Hay alguna razón especifica para que uses una Array multidimensional? Yo habria creado una clase con variables k y j, y un objeto de esa clase (Es, al menos en mi opinion, más sencillo de leer)

avatar image
0

Answer by germanserranoacosta · Jan 05, 2014 at 04:29 PM

baraja1 es variable Array multi dimensional

el error completo es

Type'Object' does not support slicing.(BCE0048)

gracias por responder.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

19 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Builds Crashing with "UnityPlayer.dll caused an Access Violation (0xc0000005)" 2 Answers

How to use publisher account?? 0 Answers

Having difficulty with semicolons. 2 Answers

Google Ads Integration problems 1 Answer

Unexpected error 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges