[VAPP/AS] problems with setting fields
Ruslan Zasukhin
sunshine at public.kherson.ua
Sat Sep 20 15:04:52 CDT 2003
on 9/20/03 12:04 AM, Kurt Klamp at K.Klamp at t-online.de wrote:
Hi Kurt,
> i've problems with the set command in AS. Did yoou changed something in
> rules of syntax since 1.9.8 ?
No, only record locks was added.
> There is no chance to fill the fields of a cursor with the code
>
>> set fields of cursor to {.......}
>
> In this form VAPP crashes with error 15
Does my examples works?
Have you see that in SQL exmaples I have add 3 parameters to Sql Select?
> If i write
>
>> set every field of cursor to {……}
> it compiles to
>> set every fields of cursor to {……}
> and on run there is no crash but the error 'Val. is missing some
> parameter. But the value list is the same iget with 'set thelist to get
> fields of cursor.
>
> If i try
>> set field 1 thru n of cursor to {……}
> a crash as result.
>
> the only way which works is to set each field one after another via
>> set field n of cursor to item n of valuelist
>
> Am i doing something wrong?
>
>
> BTW: i noticed something strange. In the AS dictionary of Vapp there
> seems to recide only plurals of classes. The most classes are changed to
> their plural form on compiling.
>
> For example the value of a ptr field:
>> records id 1 of base objects "Investments" of databases "P_Daten"
> or some references:
>> databases "P_Daten"
>
>> cursors 1 of databases "P_Daten"
>
> Each element is compiled to plural. May be thats the reason for the 'set
> fields ...' problem
--
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
-------------------------------------------------------------
More information about the Valentina
mailing list