Files
harbour-core/harbour/tests/testread.prg
Viktor Szakats 58255adfe5 2011-09-07 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/howtosvn.txt
    + added extra rules to "1.3 Here's how to format your ChangeLog entries"
      section.
    * Change markup is not optional anymore, pls stick to it.

  * contrib/hbcups/tests/test.prg
  * contrib/hbcups/readme.txt
    + Added more test code and extra info to hbcups.
      Update provided by Dr. Claudia Neumann (with my minor fixes/formatting).
      Many thanks!

  * contrib/hbpgsql/rddcopy.c
  * contrib/hbpgsql/hbpgsql.h
    ! svn props

  * tests/testtok.prg
  * tests/testrdd.prg
  * tests/tstchbx.prg
  * tests/tstblock.prg
  * tests/ticktime.prg
  * tests/testvars.prg
  * tests/tstasort.prg
  * tests/testprof.prg
  * tests/testread.prg
  * tests/testrpt.prg
  * tests/teststr.prg
    * formatting.
2011-09-07 16:33:53 +00:00

46 lines
848 B
Plaintext

/*
* $Id$
*/
// Harbour Get System sample
PROCEDURE Main()
LOCAL cName := "Harbour "
LOCAL cWish := "Power "
LOCAL cEffort := "Join us! "
LOCAL acVars := { { "Hello", "World" } }, Counter
LOCAL GetList := {}
SET COLOR TO GR +/ B, W +/ BG
CLS
SET KEY -1 TO ShowVar()
@ 2, 2 SAY "Enter your name :" GET cName PICTURE "@K!"
@ 4, 2 SAY "Enter your wish :" GET cWish
@ 6, 2 SAY "Enter your effort:" GET cEffort
@ 8, 2 SAY "Object Data :" GET GetList[ 1 ]:Picture
FOR Counter := 1 TO Len( acVars[ 1 ] )
@ Row() + 2, 2 SAY "Array Element[1][" + Str( Counter, 1 ) + "]: " GET acVars[ 1 ][ Counter ]
NEXT
READ
@ Row() + 2, 2
? cName
? cWish
? cEffort
? acVars[ 1 ][ 1 ]
? acVars[ 1 ][ 2 ]
RETURN
PROCEDURE ShowVar()
Alert( ReadVar() )
RETURN