perhaps you could test Not(Nil( $p))) and Type($p->) following Get pointer.

remember, a 4D pointer is a structure, not an address,
just some information about what to look for (the name in case of a variable),
it can be not Nil but point to something that does not exist.

but I also favour a flat object containing all the web form variables,
it makes sense (a valid form variable name is a valid property name),
it is fast (property names are hashed),
it is easy (no need to Find in array and test for #-1).
I would even go a step further and wish WEB GET VARIABLES would return an 
object.



> 2016/11/10 4:58、Mike McCall <[email protected]> のメール:
> Is there any way we could avoid this from happening?



宮古 啓介
セールス・エンジニア

株式会社フォーディー・ジャパン
〒150-0043
東京都渋谷区道玄坂1-10-2 渋谷THビル6F
Tel: 03-6427-8441
Fax: 03-6427-8449

[email protected]
www.4D.com/JP

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to