Page 1 of 1

Compiling a chain function...

Posted: Sat Nov 06, 2004 7:43 am
by N1FTY V1RU$
Hello everybody !

I've just a little question, but you must first excuse me for asking so stupid things, but i've found no answer to this question in QB help...

Is CHAIN will work with executables when this function is compiled into another executable ?

Thanks in advance... :?:

Posted: Sat Nov 06, 2004 8:23 am
by {Nathan}
If it cannot, here is a solution. Right before you compile, change the chain to a shell "filename.exe" and compile the program you chain to too. NOTE: This is untested but it really should work. I don't know why it wouldn't.

Posted: Wed Jan 19, 2005 6:20 pm
by Rattrapmax6
Sorry 4 repling on a 3 month old topic, but CHAIN funtions like this. If you are working on a .BAS file, it will only open other .BAS file. After you compile though, it will open .EXE files.

Just remember to switch the File.BAS to File.EXE and compile the BAS File it was opening. :wink: This might not be what you on, but its how I got it to work, or found it worked.

Posted: Wed Jan 19, 2005 10:35 pm
by Mitth'raw'nuruodo
Hi,
I would also like to add that there are no stupid
questions so don't be afraid to ask.
...:idea:...Wait! What am I Typing!?? :shock:
*Mit's Conscious: What about if they ask what side of an equation
the vaiable that gets the values goes on?

Ok, so there are a few stupid questions,
but those are rare cases.... :D .

-Mit

Posted: Thu Jan 20, 2005 4:24 am
by Z!re

Code: Select all

CLS
a = 100
IF (a = -1) = ((2 - 3) < 0) >= -a THEN
 PRINT "Fancy!"
END IF
Returns true for any positive value, including 0

Anyone care to figure it out? :P
It's actually quite simple, just looks insane=)