noob need help
Compiling .bas files into .exe files is a function built into QuickBasic (not QBasic though). You will need to get a version of QuickBasic such as QuickBasic 4.5.
You can download QB compilers here: http://www.download-qb.tk/
The once you've got QB installed, it's just a matter of selecting an option from the menu that says "Make EXE".
If you've got anymore questions, just ask.
You can download QB compilers here: http://www.download-qb.tk/
The once you've got QB installed, it's just a matter of selecting an option from the menu that says "Make EXE".
If you've got anymore questions, just ask.
- {Nathan}
- Veteran
- Posts: 1169
- Joined: Thu Aug 19, 2004 6:08 pm
- Location: The wetlands of central Ohio, USA
- Contact:
its the same
its the same only faster programming and it has more options/menus. it takes a while 2 get used 2, but ull get it eventuallty. i dont even no wut everything does...
-
- Coder
- Posts: 23
- Joined: Sun Oct 03, 2004 10:26 pm
- Location: Prince George, BC, Canada
darn it... miss a day or two and I miss out on most of the noobs questions, you guys have all the fun.
Anyway, dont have the *clearest* clue about what your really asking, maybee this might help
($ is the tag to indentify a variable as a string)
DIM s AS STRING
--will make s a valid string so you dont have to use$
n$="Hello"
--will make n$="hello" (values stored in quotes)
INPUT "Name: ",n$
--will prompt user, and store value to n$
INPUT "Name: ";n$
--ditto, but will put a ? at the prompt
n$=n$+a$
--this will make n$ contain itslef and a$
LEN(n$)
--will return the number of characters in n$
n$=LEFT$(n$,2)
--if n$="12345" then n$="12", crops out 2 chars
n$=RIGHT$(n$,3)
--if n$="12345" then n$="345", crops out 3 chars
n$=MID$(n$,2,3)
--if n$="12345" then n$="234", 2 in, 3 chars
n$=STR$(a)
--if a=123 then n$ will be "123"
a=VAL(n$)
--if n$="123" then a=123, ditto even if n$="123text" or n$="text123"
n$=CHR$(a)
--check ascii codes in help, will make n$=symbol
a=ASC(n$)
--returns ascii code of symbol (ex, "a" "B" "?" "?")
also look up INSTR, it basically finds a specified string fragment inside another string
that should be all the string tools, you can mix and match them, ex:
(the ; allows you to continue printing to the screen on the same line)
there, that should cover most of the string basics
Anyway, dont have the *clearest* clue about what your really asking, maybee this might help
($ is the tag to indentify a variable as a string)
DIM s AS STRING
--will make s a valid string so you dont have to use$
n$="Hello"
--will make n$="hello" (values stored in quotes)
INPUT "Name: ",n$
--will prompt user, and store value to n$
INPUT "Name: ";n$
--ditto, but will put a ? at the prompt
n$=n$+a$
--this will make n$ contain itslef and a$
LEN(n$)
--will return the number of characters in n$
n$=LEFT$(n$,2)
--if n$="12345" then n$="12", crops out 2 chars
n$=RIGHT$(n$,3)
--if n$="12345" then n$="345", crops out 3 chars
n$=MID$(n$,2,3)
--if n$="12345" then n$="234", 2 in, 3 chars
n$=STR$(a)
--if a=123 then n$ will be "123"
a=VAL(n$)
--if n$="123" then a=123, ditto even if n$="123text" or n$="text123"
n$=CHR$(a)
--check ascii codes in help, will make n$=symbol
a=ASC(n$)
--returns ascii code of symbol (ex, "a" "B" "?" "?")
also look up INSTR, it basically finds a specified string fragment inside another string
that should be all the string tools, you can mix and match them, ex:
(the ; allows you to continue printing to the screen on the same line)
Code: Select all
DIM Name AS STRING
INPUT "First Name: ", Name
INPUT "Last Name: ", last$
PRINT "Hello ";Name;" ";last$;", how are you?"
Name=Name+last$
PRINT "The first 3 letters of ";Name;" are ";LEFT$(Name,2)
PRINT "And the last 3 are ";RIGHT$(Name,3)
Name=MID$(last$, LEN(last$)-2, 1)
PRINT "The second to last letter of your last name is ";Name
People laugh at me because I'm different, I laugh because there all the same... Soooo, if were all laughing, I fail to see the problem