home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!wupost!csus.edu!netcom.com!jamesc
- From: jamesc@netcom.com (James Chuang)
- Subject: Re: dBase programming question
- Message-ID: <1993Jan11.213236.27532@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <1993Jan7.185640.9973@ac.dal.ca> <1993Jan11.081234.18485@pegasus.com>
- Date: Mon, 11 Jan 1993 21:32:36 GMT
- Lines: 23
-
-
- > The question was how to define a dbase character variable
-
- dBase III+ did not require definition of variable before usage. To assign the
- string "FOOBAR" to variable MyVar, just do this:
-
- MyVar = "FOOBAR"
-
- To assign a numeric to MyVar, just do this:
-
- MyVar = 12345.67
-
- To allow the user to input into MyVar, first set myvar to a value of any type,
- then do this:
-
- @ 10,10 GET MyVar
- READ
-
- All these commands can be executed from the dot prompt.
- jamesc
- --
- =========================================
- If someone asks if you are a God, you say... YES!
-