Aparajita,
>> delete element ( session{"mylist"};35)
>>
>> Btw. "delete element" is mentioned a few times in the A4D manual, but the
>> actual syntax is nowhere explained.
>
> Command Reference chapter, "4D Commands" section, first paragraph:
>
> "Following is a list of the 4D commands implemented by Active4D. Unless
> indicated by the formats noted below, they take the same parameters and work
> exactly as they do in 4D."
>
> DELETE ELEMENT is in that list. Searching for "delete element" (with quotes)
> hits that list first, which is titled "4D Commands Supported by Active4D". I'm
> not sure how I can make it clearer.
Hmm, my 4D V12 doesn't know a command DELETE ELEMENT. I assume it has been
replace by "delete from array" at some time. You won't find any reference to
DELETE ELEMENT in the 4D online manuals either.
Thus I wrongly assumed, it would be an A4D command.
Yes, you are right, that you clearly stated DELETE ELEMENT is a 4D command
and therefore has not to be documented in the A4D manual, but I'm right as
well, that DELETE ELEMENT command syntax is nowhere explained and you have
to find out the correct syntax by trial and error.
So one could argue, that legacy 4D commands, now only accessible from within
A4D should be documented in the A4D manual. ;-)
Pete
_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/