cor
New Member
Posts: 10
|
Post by cor on Apr 28, 2019 14:16:34 GMT -5
I have a large single program (>22.000 lines of code) and it contains several structs. In LB4.5 they were no problem if they contained string items. but in 5 the following statements produce an error.
s.hwnd.struct = 0 s.lpVerb$.struct = "Open" '<<<<<<< $-sign underlined in debugger s.lpFile$.struct = file$ '<<<<<<< same s.lpParameters$.struct = parm$ '<<<<<<< same s.lpDirectory$.struct = directory$ '<<<<<<< same
The program also contains many confirm statements which generate an error due to use of a reserved word.
CONFIRM "Are you sure?"; confirm$
This works in 4.5, needs a modification in 5.
CONFIRM "Are you sure?"; confirmation$ - this is ok in 5.
The same is true for 'line' and probably several more reserved words that carry over from 4.5 to 5.
Is there a list of reserved words that are subject to this, in 5 'illegal??' use of reserved words??
|
|
|
Post by Carl Gundel on Apr 28, 2019 16:31:47 GMT -5
I have a large single program (>22.000 lines of code) and it contains several structs. In LB4.5 they were no problem if they contained string items. but in 5 the following statements produce an error.
STRUCT is not ready for prime time. I wouldn't even waste any time testing it until an alpha is released that contains a mention of it being ready in the release notes.
|
|