home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / 9010 < prev    next >
Encoding:
Text File  |  1993-01-11  |  960 b   |  34 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!wupost!csus.edu!netcom.com!jamesc
  3. From: jamesc@netcom.com (James Chuang)
  4. Subject: Re: dBase programming question
  5. Message-ID: <1993Jan11.213236.27532@netcom.com>
  6. Organization: Netcom - Online Communication Services (408 241-9760 guest)
  7. References: <1993Jan7.185640.9973@ac.dal.ca> <1993Jan11.081234.18485@pegasus.com>
  8. Date: Mon, 11 Jan 1993 21:32:36 GMT
  9. Lines: 23
  10.  
  11.  
  12. > The question was how to define a dbase character variable
  13.  
  14. dBase III+ did not require definition of variable before usage.  To assign the
  15. string "FOOBAR" to variable MyVar, just do this:
  16.  
  17. MyVar = "FOOBAR"
  18.  
  19. To assign a numeric to MyVar, just do this:
  20.  
  21. MyVar = 12345.67
  22.  
  23. To allow the user to input into MyVar, first set myvar to a value of any type, 
  24. then do this:
  25.  
  26. @ 10,10 GET MyVar
  27. READ
  28.  
  29. All these commands can be executed from the dot prompt.
  30. jamesc
  31. -- 
  32. =========================================
  33. If someone asks if you are a God, you say... YES!
  34.