Library thing
Posted: Wed Dec 01, 2004 3:14 am
Ok. I run qb.exe with no parameters.
Ill type example like this.
---Code---
SUB Colors
For i = 1 to 255
Color i
Locate 1,1: Print i
Sleep 1
Next
END SUB
---End of code---
Ill save this as a "Colors.bas" and make it as a library with qb?s own way.
"Make library" and name it as "Colors"
Then i restart qb with parameters "/l Colors.qlb"
If i remember correctly then next code should work.
---Code---
DECLARE SUB Colors ALIAS "Colors" ()
Screen 13
Call Colors
End
---End of code---
Seems like i dont remember it right because it wont work =)
Any one with idea why it?s not working? I have qb 4.5.
Ill type example like this.
---Code---
SUB Colors
For i = 1 to 255
Color i
Locate 1,1: Print i
Sleep 1
Next
END SUB
---End of code---
Ill save this as a "Colors.bas" and make it as a library with qb?s own way.
"Make library" and name it as "Colors"
Then i restart qb with parameters "/l Colors.qlb"
If i remember correctly then next code should work.
---Code---
DECLARE SUB Colors ALIAS "Colors" ()
Screen 13
Call Colors
End
---End of code---
Seems like i dont remember it right because it wont work =)
Any one with idea why it?s not working? I have qb 4.5.