Commit Graph

95 Commits

Author SHA1 Message Date
Ron Pinkas
eb2d8afdb4 20000522-06:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
     + Added "as structure", "as stru", "as array of structure", "as array of stru"

   * source/compiler/hbpcode.c
     * Improved some logic in hb_StrongType()

   * source/vm/hvm.c
     ! Corrected startup symbol when having to use Main() as per Ryszard.

   * source/pp/pptable.c
     + Added the equivalent of:
        #COMMANDS STRUCTURE <StruName> <Var1> AS <Type1> [, <VarN> AS <TypeN> ] => ;
                  STATIC __<StruName> := {|| IF( __<StruName> == NIL, , ) , HB_Structure( <"StruName">, { <"Var1"> [, <"VarN">] } )} ;;
                  DECLARE <StruName> <Var1> AS <Type1> [ <VarN> AS <TypeN> ] ;;
                  #TRANSLATE AS NEW <ClassName> => AS CLASS <StruName> := ( Eval( __<StruName> ), HB_Structure( <StruName> ) )

	#TRANSLATE AS NEW <ClassName> => AS CLASS <ClassName> := <ClassName>():New()

   * source/rtl/tclass.prg
     + Added Function HB_Structure() ( Fully Declared! ) This function is used internally, but may be freely called from Clipper level.
       It Aceepts Parameter 1 Structure Name, and optional parameter 2, as array of structure variable names.
       If called with 2nd parameter, returns NIL (just creates the new Structure), if called with just parameter 1, it returns
       new instance of defined structure.

   + tests\teststru.prg
     + Added demo for new structure syntax
2000-05-22 13:53:14 +00:00
Ryszard Glab
9f23de3925 ChangeLog 20000425-12:40 GMT+1 2000-04-25 10:37:40 +00:00
Viktor Szakats
cb94df2cb3 20000423-14:35 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-23 12:29:33 +00:00
David G. Holm
76629ea7ab See ChangeLog entry 2000-04-17 14:40 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-04-17 18:46:05 +00:00
Viktor Szakats
8440262da1 20000415-12:38 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-15 10:36:42 +00:00
Viktor Szakats
e12b9dd9e9 20000411-13:12 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-11 11:17:46 +00:00
Viktor Szakats
47a17d7ece 20000411-00:24 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-10 22:33:43 +00:00
Alexander S.Kresin
7fcd9edf80 20000405-14:28 GMT+3 2000-04-05 10:31:29 +00:00
Viktor Szakats
0d6331bd82 20000404-12:13 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-04 10:10:22 +00:00
Viktor Szakats
c7333102d0 20000404-03:24 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-04 01:27:00 +00:00
Viktor Szakats
c58df7356f 20000403-22:20 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-03 20:18:59 +00:00
Viktor Szakats
7a8980eaa6 20000402-16:17 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-02 14:17:28 +00:00
Viktor Szakats
e41d4b48f1 20000331-01:02 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-30 23:01:28 +00:00
Alexander S.Kresin
7eba7dba8d 20000328-23:10 GMT+3 Alexander Kresin 2000-03-28 19:19:07 +00:00
Viktor Szakats
d744a5319a 20000327-21:35 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-27 19:42:04 +00:00
Viktor Szakats
4a1e1ffc6e 20000326-08:06 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-26 06:15:04 +00:00
Viktor Szakats
17795ae485 20000321-15:08 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-21 14:12:00 +00:00
Viktor Szakats
859d976666 20000321-12:32 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-21 11:40:25 +00:00
Paul Tucker
13b879d8cd Clear struct on Undef 2000-03-19 19:37:34 +00:00
Viktor Szakats
10accb5458 20000319-17:47 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-19 17:05:17 +00:00
Viktor Szakats
4902ebbe7d 20000318-02:37 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-18 01:45:21 +00:00
Viktor Szakats
2f5082bdc8 20000317-10:53 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-17 09:53:55 +00:00
Alexander S.Kresin
4aad1f1710 Updating preprocessor files 2000-03-17 07:02:11 +00:00
Viktor Szakats
f900647f3f 20000316-02:04 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-16 01:03:14 +00:00
Viktor Szakats
d30c00ebbe 20000315-16:23 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-15 15:23:49 +00:00
Viktor Szakats
28d912ee09 20000315-14:28 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-15 13:32:17 +00:00
Viktor Szakats
b268b9a1ee 20000315-08:08 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-15 07:32:26 +00:00
Viktor Szakats
a49700b2da 20000307-12:35 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-07 11:41:00 +00:00
Viktor Szakats
3f335033d4 20000306-13:25 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-06 12:38:23 +00:00
Viktor Szakats
c124d2959e 20000302-20:44 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-02 19:49:22 +00:00
Viktor Szakats
3e3819e705 20000302-11:21 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-02 11:58:22 +00:00
Ryszard Glab
3aa7c99ce6 ChangeLog 20000302-12:35 GMT+1 2000-03-02 11:19:18 +00:00
Viktor Szakats
176ed31f81 20000301-03:04 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-01 02:04:02 +00:00
Alexander S.Kresin
ad8327bf1b Added cast to pp files 2000-02-21 11:59:44 +00:00
Alexander S.Kresin
60b1bd6adb Updating pp files 2000-02-20 17:04:57 +00:00
Alexander S.Kresin
9c36e91949 Standalone pp corrected 2000-02-18 18:35:47 +00:00
Alexander S.Kresin
ebd86942df Updating pp files 2000-02-18 12:24:01 +00:00
Paul Tucker
f10493d342 Add cast 2000-02-17 20:20:20 +00:00
Alexander S.Kresin
cf9c8644ee Updating of compiler and pp files 2000-02-17 20:00:40 +00:00
Alexander S.Kresin
6291c11d67 Fixing hbpplib.c 2000-02-17 07:07:48 +00:00
Alexander S.Kresin
b04c687237 Updating of compiler and pp files 2000-02-16 20:15:42 +00:00
Viktor Szakats
9a08583181 20000210-03:24 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-02-10 02:26:17 +00:00
Alexander S.Kresin
8e3a71d5e1 hbpp.c 2000-02-09 10:57:48 +00:00
Viktor Szakats
b66f833ecd 20000205-00:32 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-02-04 23:32:50 +00:00
Alexander S.Kresin
170ae2c975 Updating hbpp.c 2000-02-02 17:44:08 +00:00
Alexander S.Kresin
df8095f881 Updating hbpp.c 2000-01-30 14:08:12 +00:00
Alexander S.Kresin
b35d519bd3 Updating hbpp.c 2000-01-21 15:01:27 +00:00
Alexander S.Kresin
c665d0e398 Updating hbpp.c 2000-01-19 18:24:23 +00:00
Alexander S.Kresin
08cb3e3a25 Updating preprocessor and RDD ADS files 2000-01-17 19:18:07 +00:00
Ryszard Glab
a28cf6b8b9 ChangeLog 20000116-15:35 GMT+1 2000-01-16 14:23:07 +00:00