Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / string var

Author
Message
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 5th Nov 2003 02:53
do you have to use a $ to define a string var...

...like in QBasic?

Two words, moo.
Linker
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 5th Nov 2003 04:10
Yes, I think so. If you take out the $ it is an integer (whole number). Try this:

Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 5th Nov 2003 04:17
If you're using DBPro, a string can also be defined like so:



Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 5th Nov 2003 06:19
so the answer is no for the silly symbols like $ and #

strMyString as string
fltMyFloat as float

or

x as string
y as float

can be definied as such, whatever fltFloats your btBoat

-RUST-

Login to post a reply

Server time is: 2024-11-25 16:24:55
Your offset time is: 2024-11-25 16:24:55