Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

not exe.-able

Hello,

I hope that anyone ao you will be able to help me-

I've just written my first program and its running in q-basic, but when try to get it into an exe-file there are 5 severe errors after if-expressions.

What can Ido against it?




Comments

  • : Hello,

    : I hope that anyone ao you will be able to help me-

    : I've just written my first program and its running in q-basic, but when try to get it into an exe-file there are 5 severe errors after if-expressions.

    : What can Ido against it?

    :

    :



    What's the error? If you post the If block, that might also help...


  • If can be used like this...



    Examples:

    if arne = 1 then print arne ' easy one



    Examples:

    if arne = 1 then locate 10,10:print arne



    Examples:

    if arne = 1 then

    print arne

    end if



    Examples:

    if arne = 1 then

    print arne

    else

    if arne = 2 then arne = 0

    end if



    Examples:

    arne = 1 then

    if gunde = 2 then

    print "Aj"

    else

    print "Gune r dd."

    end if

    else

    if arne = 2 then

    print "Nu r vi glada.

    end if

    end if








  • : If can be used like this...

    :

    : Examples:

    : if arne = 1 then print arne ' easy one

    :

    : Examples:

    : if arne = 1 then locate 10,10:print arne

    :

    : Examples:

    : if arne = 1 then

    : print arne

    : end if

    :

    : Examples:

    : if arne = 1 then

    : print arne

    : else

    : if arne = 2 then arne = 0

    : end if

    :

    : Examples:

    : arne = 1 then

    : if gunde = 2 then

    : print "Aj"

    : else

    : print "Gune r dd."

    : end if

    : else

    : if arne = 2 then

    : print "Nu r vi glada.

    : end if

    : end if

    :

    :

    :

    :



    Have you played Gundeman 2000? Listen to Rally in P3... That's great... Men... JAG r ju en mas fr fan... Skit samma... Have a (nice) day!


Sign In or Register to comment.