Files
harbour-core/tests/test.prg
vszakats a4a357a18b 2013-03-15 11:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* /harbour/* -> /*
    * moved whole Harbour source tree one level up to
      avoid single 'harbour' top dir
2013-03-15 11:13:30 +01:00

27 lines
319 B
Plaintext

/*
* $Id$
*/
PROCEDURE Main()
LOCAL s := " " + Chr( 0 ) + " mab " + Chr( 0 ) + " "
StrDump( s )
? s
? '"' + LTrim( s ) + '"'
? '"' + RTrim( s ) + '"'
? '"' + AllTrim( s ) + '"'
RETURN
STATIC PROCEDURE StrDump( s )
LOCAL tmp
FOR EACH tmp IN s
? Asc( tmp )
NEXT
RETURN