Results 1 to 8 of 8

Thread: StrToInt(Edit1.Text);

  1. #1
    Join Date
    Dec 2006
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default StrToInt(Edit1.Text);

    so yes, now i'm trying to get the rest of my information from my form, to work with my procedures and script, everything works but when i click my "begin" button this happens..

    [Runtime Error] : Access violation at address 0000333C.

    now, before i added...

    Code:
    LeatherToTan:= StrToInt(Edit2.Text);
    CraftedLeather:= StrToInt(Edit1.Text);
    ...in my main loop, it worked fine. now their's a problem, any ideas?

    thanks
    Thick As Blood

  2. #2
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    did you declare the array first because it looks to me like the numbers don't have anywhere to go in memory
    "your always where you supposed to be"

  3. #3
    Join Date
    Dec 2006
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nope, i dont know how to do that yet unfortunetaly.

    if you could explain it to me i'd be more then happy to pay attention and learn to do it so i don task the same question twice.

    contact me via, an instant messanger in my signature and talk more, or post here.


    thanks a lot man
    Thick As Blood

  4. #4
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wait is edit an array or a type i now think its a type but what ever im no teacher but heres a link to a good tut http://www.villavu.com/forum/showthread.php?t=3747
    "your always where you supposed to be"

  5. #5
    Join Date
    Dec 2006
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hmm, i just read it, but i really dont understand. i need an example or something.
    Thick As Blood

  6. #6
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    can you post your script
    "your always where you supposed to be"

  7. #7
    Join Date
    Dec 2006
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i'd rather not, but i'll PM you it. check your messages.
    Thick As Blood

  8. #8
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    o its in a form wow i had no idea sry but i dont know how forms work so you should probably try the advanced forms "sorry for the false hope i had no idea
    "your always where you supposed to be"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Grabbing or reading Text from a game text box
    By British in forum OSR Help
    Replies: 16
    Last Post: 02-27-2009, 08:02 AM
  2. Text help
    By Leech in forum OSR Help
    Replies: 2
    Last Post: 10-03-2008, 07:55 PM
  3. Getting text from text window?
    By Gone Fishing in forum OSR Help
    Replies: 8
    Last Post: 04-24-2008, 07:33 PM
  4. Replies: 5
    Last Post: 03-24-2007, 11:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •