Find the answer to your Linux question:
Results 1 to 3 of 3
alright so im using freeBasic and I just started... it's been running smoothly for me for the last couple of days but a couple of hours ago i ran into ...
  1. #1
    Just Joined! Zudo's Avatar
    Join Date
    Jun 2009
    Location
    earth
    Posts
    6

    programming noob here...

    alright so im using freeBasic and I just started...
    it's been running smoothly for me for the last couple of days but a couple of hours ago i ran into a problem i just couldn't solve...I JFG'd it, I searched the official site for the error code (which btw is 68: array not dimensioned) and I found nothing...if someone can help me out of this little bind it would be much appreciated...again that's error code 68: array not dimensioned, thanks

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    A look at your source code would help. Please post it here inside a code block. Ie,
    Code:
    This is your souce code.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined! Zudo's Avatar
    Join Date
    Jun 2009
    Location
    earth
    Posts
    6
    hehe, wow im sorry, i must've spaced that

    HTML Code:
    '$include: "SDL\SDL.bi"
    const scr_width = 640
    const scr_height = 480
    dim menuscreen as SDL_Surface ptr 'our bitmap
    dim shared video as SDL_Surface ptr 'our screen surface
    SDL_Init ( SDL_INIT_VIDEO )
    video = SDL_Set_VideoMode( SCR_WIDTH, SCR_HEIGHT, 32, 0 )
    MenuScreen = SDL_LoadBMP("bitmap.bmp")
    SUB blitimage(x as integer. y as integer, image as sdl_surface ptr, dest as sdl_surface ptr)
        DIM rectangle as SDL_Rect
        DIM Rectangle2 as SDL_Rect
        Rectangle.x = 0
        rectangle.y = 0
        rectangle.w = image->w
        rectangle.h = image->h
        rectangle2.x = x
        rectangle2.y = y
        SDL_Blitsurface image, @rectangle, dest, @rectangle2
    END SUB
    SDL: SDL_Quit ()
    if this helps it highlighted after this...

    video = SDL_Set_VideoMode( SCR_WIDTH, SCR_HEIGHT, 32, 0 ) ^

Posting Permissions

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