20000522-09:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com>

* include/hbextern.ch
     + Added HB_STRUCTURE to list of Externals
This commit is contained in:
Ron Pinkas
2000-05-22 16:47:45 +00:00
parent 5dafe5ee47
commit 30020a437f
4 changed files with 23 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
20000522-09:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbextern.ch
+ Added HB_STRUCTURE to list of Externals
20000522-09:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c

View File

@@ -673,6 +673,7 @@ EXTERNAL TBROWSENEW
//symbols from file: rtl\tclass.prg
//
EXTERNAL TCLASS
EXTERNAL HB_STRUCTURE
//
//symbols from file: rtl\text.prg
//

View File

@@ -0,0 +1,11 @@
INIT PROCEDURE Init()
? "In Init"
RETURN
PROCEDURE MAIN()
? "Should NEVER see this message!!!"
RETURN

View File

@@ -4,11 +4,13 @@ PROCEDURE MAIN()
LOCAL sTest AS New MyStruct
sTest:Var1 := 8 // Warning Here as Expected.
sTest:NoSuchVar := "Error" // Warning here as expected.
sTest:Var1 := 'Working' // No problem here.
? sTest:Var1 // Np Problem here.
? sTest:Var1 // No Problem here.
sTest:Var1 := 8 // Warning Here as Expected.
/* Run TIME ERROR Here */
sTest:NoSuchVar := "Error" // Warning here as expected.
RETURN