facebook

Need help – Creating Dictionary

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #328989 Reply

    Hello!
    Please Help:
    I’m trying to build simple off-line Dictionary app for Iphone. I have MobiOne DC Version 2.1.0 Preview.
    As an example I used temperature converter (find at how-too section) and turned it into simple dictionary. You can put a value (word) in one field and it gives you result in another.
    The JS logic is here:

    function f2c () {
    var a = ($(‘#m1-tempconvert-farenheitInput’).val());
    var b = ($(‘#m1-tempconvert-celciusInput’).val());
    if ( a == ‘1’) { b = ‘1111111111’; }
    else if ( a == ‘2’) { b = ‘2222222222’; }
    else if ( a == ‘3’) { b = ‘3333333’; }
    update(a,b);
    }

    This example works just FINE until I try to load more data. As soon as I try to populate it and paste in the cycle more than 2000 values it stops working!
    Debugger gives an error in the middle of nowhere and says:
    …..
    else if (a == “1665”) { b = “1849815”; }
    SyntaxError: Parse error
    else if (a == “1666”) { b = “1850926”; }…..

    Could you please help me figure out what should I do? and how can I fix the problem?

    Kind regards
    Dmitry

    #329357 Reply

    Hi,
    Please respond!
    Do I have a stupid script (for Dictionary purpose)? or it’s a real Bug of the Test center/device?
    I tried to use ActiveXObject (Dictionary.Scripting) structure but it didn’t work.
    Should I keep looking for different ways around the problem!
    I really need to make a dictionary!

    #329398 Reply

    Hi Dmitry,

    Please send us your project to look deeper and figure out what is the problem. Send it via support at genuitec dot com, if it contains images or any file that make it bigger please try to limit the size to 5 MB or less, use title: “mobione data from Dmitry”

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Need help – Creating Dictionary

You must be logged in to post in the forum log in