V4RB 1.10 Platform inconsistency

Fred.Stephenson Fred.Stephenson at communication-unltd.com
Tue Mar 9 18:42:36 CST 2004


>So you mean that if write
>
>   vs=bo.CreateStringField("Referral",30,"ascii")

No, that doesn't work. Using "createstringfield" you have to have the 
4 parameters including the method param.
I've now reverted to :
   vfld=bo.CreateField("Referral",kV_TypeString,30,"ascii")
   vs=vstring(vfld)
   vs.Indexed=true
   vfld=bo.CreateField("Mailing",kV_TypeBoolean)


>
>It works. Yes?
>I see where problem can be.
>
>Although better not send empty string into method text.
>REALbasic for "" produce on C++ level NULL pointer.
>Other languages will consider such logic as METHOD.

Well my point is that it should do the same on both platforms.
Then I wouldn't have had an angry client on the phone ;?)

all the best

Fred

>
>--
>Best regards,
>Ruslan Zasukhin      [ I feel the need...the need for speed ]
>-------------------------------------------------------------
>e-mail: ruslan at paradigmasoft.com
>web: http://www.paradigmasoft.com
>
>To subscribe to the Valentina mail list go to:
>http://lists.macserve.net/mailman/listinfo/valentina
>-------------------------------------------------------------
>
>_______________________________________________
>Valentina mailing list
>Valentina at lists.macserve.net
>http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list