|
|
|||||||
While attempting to do a preview from PostPrep the new KiXtart 2010b1a returned the following error and quit: Quote: Using KiXtart versions 4.22 or 4.23 did not produce this error. Examining the code I found a typo in the code. if $frm. There was a period on the end of the variable By removing the period so that is was now if $frm KiXtart 2010b1a now executes the preview properly. So, not a bug, but just to show that the new version of KiXtart is not as forgiving as we may have become used to. |
||||||||
|
|
|||||||
Is $frm by any chance an object? Or could "$frm." be interpreted by KiXtart to be an object referencing a default property as no specific property has been defined? |
||||||||
|
|
|||||||
$frm is an object $frm = createobject("Kixtart.Form") |
||||||||
|
|
|||||||
Then Code: IF vartype($frm)=9 or Code: IF not @EEROR should be used anyway, anyway. |
||||||||
|
|
|||||||
The beta forum is not the right venue for discussing coding styles. DOC simply reported a change in behavior of the latest beta. Unless this change is the result of the addition of features or the fixing of bugs, let's just leave it at that. |