Ryszard Glab
dde0793b53
2005-11-14 11:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
...
* include/hbcomp.h
* include/hberrors.h
* include/hbexpra.c
* include/hbexprb.c
* include/hbexprop.h
* include/hbhash.h
* include/hbmacro.h
* include/hbpcode.h
* source/common/Makefile
* source/common/expropt1.c
* source/common/expropt2.c
* source/common/hbhash.c
* source/compiler/expropta.c
* source/compiler/exproptb.c
* source/compiler/genc.c
* source/compiler/harbour.c
* source/compiler/harbour.l
* source/compiler/harbour.y
* source/compiler/hbfix.c
* source/compiler/hbgenerr.c
* source/compiler/hbident.c
* source/compiler/hbpcode.c
* source/macro/macro.l
* source/macro/macro.y
* source/macro/macroa.c
* source/macro/macrob.c
* source/rtl/dates.c
* source/vm/hvm.c
* source/vm/macro.c
+ source/common/hbdate.c
+ tests/ddate.prg
+ tests/switch.prg
+added support for DATE type constants in the following format:
0dYYYYMMDD
for example (see tests/ddate.prg for more):
IF( dDate > 0d20051112 )
+added support for SWITCH command (see tests/switch.prg)
SWITCH <expr>
CASE <integer_expression>
...
[EXIT]
CASE <string_expression>
...
[EXIT]
[OTHERWISE]
...
END
Notice:
- Integer and string expressions can be mixed in a single
SWITCH command with no runtime errors;
- CASE expression have to be resolved at compile time and
the result has to be either an integer or string constant
- if there is no EXIT statement then next CASE is executed
(or OTHERWISE for the last CASE)
For example:
CASE 1+32+2*4
CASE CHR(64)
CASE ASC('A')
CASE "A"+CHR(13)
Notice:
The above changes apply only to FLEX version!
2005-11-14 09:47:46 +00:00
..
2004-10-11 20:44:30 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2002-06-02 09:56:29 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-25 11:25:54 +00:00
2004-04-16 15:05:25 +00:00
1999-10-04 18:46:41 +00:00
2000-11-28 22:07:05 +00:00
2001-08-22 17:41:10 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2000-02-14 08:11:56 +00:00
2001-09-10 22:04:29 +00:00
2001-01-25 20:10:03 +00:00
1999-10-04 18:46:41 +00:00
2001-09-10 22:04:29 +00:00
2001-09-10 22:04:29 +00:00
1999-10-22 11:32:49 +00:00
2003-12-05 14:59:14 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2000-03-06 21:18:43 +00:00
2001-04-20 15:03:37 +00:00
2001-12-19 12:32:07 +00:00
2000-11-08 17:28:24 +00:00
2005-11-14 09:47:46 +00:00
2004-01-26 18:15:16 +00:00
2001-05-18 17:22:06 +00:00
1999-10-06 15:30:38 +00:00
1999-10-04 18:46:41 +00:00
1999-10-06 15:30:38 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2001-09-10 22:04:29 +00:00
1999-10-04 18:46:41 +00:00
1999-11-26 05:19:02 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-20 18:44:39 +00:00
1999-10-04 18:46:41 +00:00
2001-02-23 18:44:00 +00:00
2005-11-07 13:28:40 +00:00
1999-10-04 18:46:41 +00:00
2001-05-15 13:02:07 +00:00
2000-08-08 21:19:35 +00:00
2004-01-26 18:15:16 +00:00
1999-10-04 18:46:41 +00:00
2000-05-07 07:40:13 +00:00
2001-08-17 20:13:27 +00:00
2000-02-14 08:11:56 +00:00
1999-10-04 18:46:41 +00:00
1999-11-26 05:18:32 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2004-01-26 18:15:16 +00:00
2000-02-14 08:11:56 +00:00
2001-09-10 22:04:29 +00:00
1999-10-04 18:46:41 +00:00
2001-06-20 18:55:21 +00:00
2001-12-21 11:59:54 +00:00
2001-09-10 22:04:29 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2003-10-29 19:38:11 +00:00
2001-05-15 13:02:07 +00:00
2003-06-17 22:10:30 +00:00
1999-10-04 18:46:41 +00:00
2001-05-15 13:02:07 +00:00
2001-05-15 13:02:07 +00:00
2001-03-08 17:58:18 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2003-10-25 13:11:10 +00:00
2002-07-07 20:45:38 +00:00
2001-05-15 13:02:07 +00:00
2001-05-15 13:02:07 +00:00
2000-04-03 00:09:34 +00:00
2002-11-20 23:45:53 +00:00
2000-06-15 19:37:09 +00:00
2001-11-01 08:18:39 +00:00
2000-11-08 17:28:24 +00:00
1999-10-04 18:46:41 +00:00
2004-01-26 18:15:16 +00:00
2004-01-26 18:15:16 +00:00
2001-09-10 22:04:29 +00:00
2004-04-17 10:58:20 +00:00
1999-10-04 18:46:41 +00:00
2001-03-08 17:58:18 +00:00
2001-11-18 21:20:09 +00:00
2000-03-06 21:18:43 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-12-29 23:54:42 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2001-03-08 17:58:18 +00:00
2001-09-10 22:04:29 +00:00
1999-10-04 19:53:30 +00:00
1999-10-06 12:55:16 +00:00
1999-10-04 18:46:41 +00:00
2005-08-23 22:51:38 +00:00
2001-03-08 17:58:18 +00:00
2001-05-18 17:22:06 +00:00
2001-03-08 17:58:18 +00:00
1999-10-16 03:28:56 +00:00
2002-10-22 22:35:46 +00:00
2002-07-22 00:33:27 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2002-01-18 21:50:18 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2001-05-15 13:02:07 +00:00
1999-10-04 18:46:41 +00:00
2001-09-10 22:04:29 +00:00
2005-11-14 09:47:46 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
1999-10-05 13:00:09 +00:00
1999-10-04 18:46:41 +00:00
2000-07-25 02:13:26 +00:00
2000-07-24 20:18:15 +00:00
2000-03-06 21:18:43 +00:00
2000-04-19 09:35:17 +00:00
2000-11-08 17:28:24 +00:00
2001-08-11 11:24:06 +00:00
2000-09-05 19:44:25 +00:00
2001-09-10 22:04:29 +00:00
2000-02-14 08:11:56 +00:00
1999-11-10 10:17:19 +00:00
2000-09-18 07:04:53 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2003-10-20 11:16:21 +00:00
1999-10-04 18:46:41 +00:00
1999-10-04 18:46:41 +00:00
2001-09-10 22:04:29 +00:00
2001-02-05 21:20:06 +00:00
2000-11-27 19:17:44 +00:00
1999-10-04 18:46:41 +00:00
2000-05-22 16:47:45 +00:00
2000-11-08 17:28:24 +00:00
1999-10-04 18:46:41 +00:00
2001-02-22 07:27:49 +00:00
2001-04-12 18:56:30 +00:00
2002-01-25 14:28:51 +00:00
2003-10-25 13:11:10 +00:00
2001-06-07 06:18:10 +00:00
2001-09-11 10:40:23 +00:00
2003-05-15 17:34:20 +00:00
1999-10-11 17:42:35 +00:00
2000-11-04 19:21:14 +00:00
2000-11-08 17:28:24 +00:00
2000-05-02 05:46:45 +00:00
1999-10-04 18:46:41 +00:00
2000-03-06 21:18:43 +00:00
2000-08-08 21:19:35 +00:00
2000-04-11 19:10:18 +00:00
2000-11-08 17:28:24 +00:00
2001-07-19 08:58:53 +00:00
2000-11-21 16:56:14 +00:00
2001-07-22 21:11:12 +00:00
1999-10-25 11:25:54 +00:00
2000-11-08 17:28:24 +00:00
2000-03-22 15:35:35 +00:00
2000-04-11 19:10:18 +00:00
2004-04-17 10:58:20 +00:00
2000-04-04 09:04:39 +00:00
2001-03-15 22:00:45 +00:00
2001-05-15 13:02:07 +00:00
2000-04-10 22:33:43 +00:00
2000-05-24 14:38:37 +00:00
2002-10-21 16:10:50 +00:00
2000-04-18 23:30:42 +00:00
1999-10-04 18:46:41 +00:00