Using the recommended quick method of initialising a struct, so I have
Code:
Struct tReceipt
integer idsdsd
string sdsdsd
...etc
End_Struct
Function aaa integer iFile returns tReceipt
tReceipt tRcpt
tReceipt tBlank
do something to tRcpt
if good func_return tRcpt
if bad func_return tBlank
end_func
The same definition is in the calling procedure.
Code:
Procedure xxxxx string fName
tReceipt tRcpt
tReceipt tBlank
Get aaa fname to tRcpt
if (tRcpt=tBlank) begin //here
<error> and I get the error whether its blank or not
end
I can stop on the //here line and see the tRcpt struct has content, but the tBlank struct has nada (in fact hovering the mouse over it in the editor didn't even show it as a struct initially)
I can obviously just test an element in the structs for presence, but I was wondering if there was a trick to this?